Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Reading escape characters from file

by aufflick (Deacon)
on Oct 05, 2008 at 11:45 UTC ( [id://715422]=note: print w/replies, xml ) Need Help??


in reply to Reading escape characters from file

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://715422]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-03-29 06:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found