perlknight has asked for the wisdom of the Perl Monks concerning the following question:
I have a config file in the form of @<hostname>, e.g: @host1, @host2:
the script calls require on the config file. how would I declare a dynamic array variable on the script, cuz I only need one of the array variable. Obviously this is done so that I don't have to keep track of the config files on every host which I am pusing the the scirpt out to. Thanks.@<hostname> =( {a => value1, b => value }, {a => value, {b=>value} )
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: dynamically generated array variable
by Tanktalus (Canon) on Jan 02, 2007 at 20:39 UTC | |
Re: dynamically generated array variable
by ikegami (Patriarch) on Jan 02, 2007 at 20:36 UTC | |
by perlknight (Pilgrim) on Jan 02, 2007 at 21:03 UTC | |
by ikegami (Patriarch) on Jan 02, 2007 at 21:11 UTC | |
by shigetsu (Hermit) on Jan 02, 2007 at 21:14 UTC | |
Re: dynamically generated array variable
by Shade (Novice) on Jan 02, 2007 at 22:46 UTC |
Back to
Seekers of Perl Wisdom