perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject RE: Subroutine issues
Date Thu, 04 May 2006 07:55:21 GMT
> 
> I am having some issues with Embperl 2.2.0 and subroutines.
> 
> I used to be able to call a subroutine from another file like 
> this in Embperl 1.3.6:
> [- Execute ({ inputfile => 'displayedit.html', import => 1 }) -]
> [- EditReport -]
> 
> displayedit.html
> [$ sub EditReport $]
> 
>      (code & html)
> 
> [$ endsub $]
> 
> 
> 
> Under 2.2.0, I get a blank page.  Once in a great while it 
> will actually work.
> 
> If I do this to the displayedit.html file:
> 
> <BR>
> Loaded file
> <BR>
> [$ sub EditReport $]
> 
>      (code)
> 
> [$ endsub $]
> 
> I will see the line "Loaded file", but nothing from the subroutine.
> 
> Any ideas?
> 

Mmmh, looks like a bug. I try to reproduce it here and then will get back to
you

Gerald


 
** Virus checked by BB-5000 Mailfilter ** 


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message