[sf-perl] Make a hash key's value dependent on the key itself?
extasia at extasia.org
Sat Jul 15 10:04:59 PDT 2006
xml is grand, but I think I would still be at risk of an edit-time
copy error. The risk would simply move from the source file to the
config file. I wanted a solution that is fairly cut-and-paste-error
resistant. The ::SOURCEHOST:: token seems to be that solution.
On 7/6/06, boss at gregerhaga.net <boss at gregerhaga.net> wrote:
> how about putting the config in an xml file?
> It would allow you to use the exact same script for various xml-config
> files. You wuldn't need to change anything in the script itself when
> source and target changes.
Live in a world of your own, but always welcome visitors.
More information about the SanFrancisco-pm