Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: read in file with varsby Zaxo (Archbishop) |
on Jul 13, 2007 at 02:10 UTC ( [id://626354]=note: print w/replies, xml ) | Need Help?? |
It sounds like what you really want is an html template mechanism. I like Template Toolkit for that. You could call s/\$([a-zA-Z_]\w*)/${$1}/g on the slurped file, though you'd want to switch off warnings for that. After Compline,
In Section
Seekers of Perl Wisdom
|
|