Syntactic Confectionery Delight | |
PerlMonks |
Re^3: inserting HTML file in a PERL scriptby davidrw (Prior) |
on May 29, 2005 at 15:24 UTC ( [id://461524]=note: print w/replies, xml ) | Need Help?? |
yes, you could match on the $ and lookup the variable name in a hash, and replace with the value. Expects the template variables to be uppercase (A-Z and _ only) and the hash keys to be lower case.
In Section
Seekers of Perl Wisdom
|
|