zdzieblo has asked for the wisdom of the Perl Monks concerning the following question:
hi, i'm not sure if understand perls eval() correctly... i've got the following problem.
$sth->execute(__variable_number_of_arguments_here); $string = '$a,$b,$c'; $sth->execute(eval($string));
is above gonna work? thank you
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: eval dilema
by moritz (Cardinal) on Jul 14, 2008 at 09:54 UTC | |
by zdzieblo (Acolyte) on Jul 14, 2008 at 10:12 UTC | |
by Corion (Patriarch) on Jul 14, 2008 at 10:23 UTC | |
by zdzieblo (Acolyte) on Jul 14, 2008 at 11:03 UTC | |
by Corion (Patriarch) on Jul 14, 2008 at 11:10 UTC | |
| |
by moritz (Cardinal) on Jul 14, 2008 at 10:24 UTC |