>
> Hm, but is some trick like that AUTOLOAD possible this way:
> [!
> package Foo;
> sub AUTOLOAD
> {
> # call Embperl sub here
> }
> !]
> [$ sub Embperlsub $]~
> ..
> [$ endsub $]
>
> when in # call Embperl I call Embperlsub?
I think this should work, also I didn't tried it.
> Actual problem is to use something like AUTOLOAD among Embperl subs. Or,
> determine if among Embperl subs is some certain function. So, solution
would
> be either use AUTOLOAD functionality or determine imported subs, get their
> list for example.
>
It is possible to get a list of all functions with the Export method, so you
can do something like
[-
$r = shift ;
$param[0] = $r -> Exports ;
-]
Now (after the import) you can call it with
Execute ({inputfile => 'lib.foo', param => \@p}) ;
After that call $p[0] should hold a hash ref with all [$ sub $] defined in
lib.foo
Hope this helps
Gerald
> Neeme
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]