|
|
| "be consistent" | |
| PerlMonks |
Re: problem in using eval stringsby Belgarion (Chaplain) |
| on Dec 02, 2005 at 10:43 UTC ( [id://513612]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||