I think Text::Template will do exactly what you want. If that's not what you want, please clarify.$text = 'my $foo has gone completely $bar'; %hash = (foo => 'dog', bar => 'crazy'); $final_text = unknown_method($text); #$final_text is now 'my dog has gone completely crazy'
In reply to Re: eval using hash values
by swiftone
in thread eval using hash values
by bernie_simon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |