perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neil Gunton <>
Subject Print OUT in [$ sub $]
Date Tue, 27 Jan 2004 20:14:29 GMT
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...



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message