Is there no simple way to do this w/o invoking a module?
Sure there is!
You can learn how to be lazy later :-)$sentence = q("The next color is $color."); $color = q(blue); print eval $sentence;
Note: There can be security implications if $color is supplied by user input.
In reply to Re^3: updating a variable call in a hash table
by gnosti
in thread updating a variable call in a hash table
by coopermc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |