Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I'm in a situation where I'd like to be able to use a Template::Toolkit file (the template, with variables where the data will go) and a populated file and go backwards to get a hash of variables that contain the corresponding values. That is, if I have a template and a config file then eventually I'll have
Hmmm .. I do have conditionals in my file, so this may be a tough nut to crack .. let me tinker a bit. But if you have ideas, feel free! Alex / talexb / Toronto "Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds In reply to Inverting Template::Toolkit by talexb
|
|