perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cameron McBride <came...@cwru.edu>
Subject Re: Execute without __PACKAGE__
Date Tue, 17 Jun 2003 18:14:38 GMT
> I have an additional question:
> What is the "isa" parameter and how can i use it?, i did not see it in the
> embperl documentation in the site http://perl.apache.org/embperl

I'm not sure where it is on the site, but its documented as part of the
Execute command.  Usage would be something like the following.

all my subs are defined in 'lib.epl'

in 'base.epl' I do:
[-
  Execute ({isa=>'lib.epl'});
-]

And then either in 'base.epl' or any other dependent Embperl::Object page, 
subs are available as:
[- 
  $req = shift;
  $req->func1($input)
  $req->func2()
-]

Cameron

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


Mime
View raw message