![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Reading escape characters from fileby aufflick (Deacon) |
on Oct 05, 2008 at 11:45 UTC ( #715422=note: print w/replies, xml ) | Need Help?? |
I second the suggestion to use a templating module - take a look at Template Toolkit, it should fit the bill. As for your question of two different formats, whatever your overall solution, why not just set up two variables for replacement. Call one vehicle and the other VEHICLE, or maybe VEHICLE and VEHICE_UC. In the perl code, make two replacements - one with the regular and other with the uc()'d version.
In Section
Seekers of Perl Wisdom
|
|