in reply to problem in using eval strings
What I wonder, and maybe this isn't possible for some reason, but why do you need an eval? Can't you replace
$arg .= "\"" . $str . "\", ";
with
push @args, $str
and then instead of
my %jobstats = eval $call
just use
my %jobstats = $jobs->$func( @args )
I like to reduce the number of times I have to use eval, and I think most monks would agree with me. Try to get rid of it if possible.
-Bryan
|
|---|