[Melbourne-pm] How to create data structures with 'default values'
alec.clews at gmail.com
Mon Nov 17 01:30:00 PST 2008
G'Day Perl Bunnies,
I have created a hash structure with a set of environment specific keys
* There is a different hash for each of the environments.
* Many of the values are the same (default) across all the
What is the easy way of setting up the defaults once and then have each
environment overwrite the default values with specific settings?
Currently I have a hash of defaults. However it's a pain to define each
specific value or assign the default value for every single key in every
Alec Clews <alec.clews at voga.com.au> Principal Consultant
Jabber: alecclews at jabber.org.au Voga Consulting Services
skype: alecclews Voice: +61(425)770-886 http://www.voga.com.au/
blog:http://alecthegeek.wordpress.com/ Melbourne, Australia
Personal <alec.clews at gmail.com> Melbourne, Australia.
Jabber: alecclews at jabber.org.au PGPKey ID: 0x9BBBFC7C
More information about the Melbourne-pm