perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Barbar <dbar...@legato.com>
Subject RE: emperl can't invoke CODE refs?
Date Fri, 06 Sep 2002 20:40:10 GMT
Mark,

	One reads "fubar", the other "funar", is that what you intended?

---
Daniel Barbar



-----Original Message-----
From: Mark Dedlow [mailto:mtdedlow@lbl.gov]
Sent: Friday, September 06, 2002 1:35 PM
To: embperl@perl.apache.org
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: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org

Mime
View raw message