Do you know where your variables are? | |
PerlMonks |
generating html from a templateby jimbus (Friar) |
on Oct 04, 2005 at 21:29 UTC ( [id://497413]=perlquestion: print w/replies, xml ) | Need Help?? |
jimbus has asked for the wisdom of the Perl Monks concerning the following question: Hello I'm sure this is a common perl type task, but I'm not sure what to call the pattern so as to google for it... I want to use perl to generate WML files from a template, using data from an outside source to fill in tokens in the template, eg: funmail.url.beta, zingy.name.prod... I'm in a situation where I'm maintaining 6 decks or sites in beta and production trim with various subsets of production and verification URLs in each. Right now, when I get a new URL or marketing want to shuffle things, I edit things by hand for beta, get approval for promotion after testing, edit in the production URLs by hand for gamma, test again and copy gamma to production So that's the set up, what I'm asking is: is there a standard format or package for inserting things appropriate places into templates? I think I've seen something like ${funmail.url.beta}, but I thought I would seek you collective wisdom before I headed off in a random direction. Thanks, Jimbus
Never moon a werewolf!
Back to
Seekers of Perl Wisdom
|
|