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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]