2011/4/26  <siegfr...@heintze.com>:

>
>
> $s = "$x = 23";
> eval $s;
>
>

eval a string is considered a bad way.
You may store and read the variables to and from a pure Perl data
structure storage, like Tie::Hash.

Regards.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to