You can use Embperl::Object also offline. You can do this by calling the function
Embperl::Object::Execute . Execute takes a hashref as argument, which can
contains the same parameters as the Embperl::Execute function. Additionally
you may specify the following parameters: | object_base | | same as $ENV{EMBPERL_OBJECT_BASE} | | | object_addpath | | same as $ENV{EMBPERL_OBJECT_ADDPATH} | | | object_stopdir | | same as $ENV{EMBPERL_OBJECT_STOPDIR} | | | object_fallback | | same as $ENV{EMBPERL_OBJECT_FALLBACK} | | | object_handler_class | | same as $ENV{EMBPERL_OBJECT_HANDLER_CLASS} | |
See also the object and isa parameters in Embperl's Execute function, on how
to setup additional inherence and how to create Perl objects out of Embperl pages.
|