![]() |
|
We don't bite newbies here... much | |
PerlMonks |
Re: problem in using eval stringsby Belgarion (Chaplain) |
on Dec 02, 2005 at 15:43 UTC ( [id://513612]=note: print w/replies, xml ) | Need Help?? |
My guess is that the line: my $call = ' $jobs->$func ($arg) ' ; Is not interpolating (expanding) the $arg variable. Use double quotes and escape the dollar signs, like so: my $call = " \$jobs->\$func ($arg) " ;
In Section
Seekers of Perl Wisdom
|
|