Mark,
One reads "fubar", the other "funar", is that what you intended?
---
Daniel Barbar
-----Original Message-----
From: Mark Dedlow [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 1:35 PM
To: [EMAIL PROTECTED]
Subject: emperl can't invoke CODE refs?
Embperl 1.3.4 does not appear to understand CODE refs. For example,
this code generates the error below:
[- sub fubar { return "test" } -]
[- $subref = \&funar; -]
[+ $subref->(); +]
[23204]ERR: 24: Error in Perl code: Undefined subroutine
&HTML::Embperl::DOC::_1::test called at ....
Is this expected? Is there a way to change this behavior?
Thanks,
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]