Shlomi Fish:


Regarding using string eval "" - you can do the same using UNIVERSAL::can, which would be safer in this case:

<<<<
__PACKAGE__->can("asub")->(@params);


or define a package and use AUTOLOAD method?


--
Jeff Pang
http://home.arcor.de/pangj/

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to