&$self->$mysub ( eval $myargs )
WHY? oO
What is the content of $self?
That's pretty cryptic code. By convention is $self an object (i.e. a blessed ref) ... not the name of a sub.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re: How can I call a Perl sub with an object from a sub name stored in a var?
by LanX
in thread How can I call a Perl sub with an object from a sub name stored in a var?
by misterperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |