>
> When I tried something like
> [$ sub AUTOLOAD $]
>
> [$ endsub $]
>
> in Embperl page, it caused segfault to apache. Somehow, following works:
> [!
> package Foo;
> sub AUTOLOAD
> {
> # code
> }
> !]
>
> and in other page I load subs like usual with import and I can call
> [-Foo::nonexisting($arg)-]
>
> Is first example usable in Embperl at all?
>

I never tried AUTOLOAD with Embperl, also it seems to be a cool idea, but as
far as I can tell from my mind I don't think the first method can work
within Embperl 1.x, while in 2.0 it should work.

Gerald


-------------------------------------------------------------
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]

Reply via email to