perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Kassab <ckas...@eplsite.org>
Subject Re: Print OUT in [$ sub $]
Date Tue, 27 Jan 2004 21:52:30 GMT
Neil:

What you can do is to enter the name of the sub as a html comment, like 
this:

<!-- xxxx  -->

And it is useful to me, to see in the html output waht subroutine 
generate the html code.

Carlos Kassab

Neil Gunton wrote:

>Hi Gerald,
>
>I found another case that doesn't work as expected in 2.0b10:
>
>
>[$ sub xxxx $]
>
>   [-
>	my ($self) = @_;
>
>	print OUT "Hello world";
>   -]
>
>[$ endsub $]
>
>This is a simplified example, but it doesn't print anything. When the
>routine is redone as a standard Perl routine, then it works. So it seems
>to be something to do with the print OUT inside a [$ sub $]. Once again,
>I am using this from Embperl::Object, calling in a subs epl file from an
>index.html. Let me know if this works for you, if it does print out on
>your system then I'll try and find out what other special factors are
>making it happen...
>
>Thanks,
>
>-Neil
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
>For additional commands, e-mail: embperl-help@perl.apache.org
>
>
>
>
>  
>

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


Mime
View raw message