Sun751 has asked for the wisdom of the Perl Monks concerning the following question:
to keep the right order I am using array inside hash. Now could any one suggest me how can I read this hash into my script and execute command one by one printing (DES) steps to the users??? Any suggestion please??my %CFG = ( Command =>[DES=>"Copy", CMD=>"cp file1 file2'Hello'", DES=>"Remove" CMD=>"rm file1", DES=>"View" CMD=>"vi file1" ], );
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Reading hash
by ikegami (Patriarch) on Jul 03, 2009 at 03:18 UTC | |
by Sun751 (Beadle) on Jul 03, 2009 at 03:49 UTC | |
by Anonymous Monk on Jul 03, 2009 at 04:07 UTC | |
by ikegami (Patriarch) on Jul 03, 2009 at 05:04 UTC | |
Re: Reading hash
by jrsimmon (Hermit) on Jul 03, 2009 at 03:51 UTC | |
Re: Reading hash
by Marshall (Canon) on Jul 03, 2009 at 03:58 UTC | |
Re: Reading hash
by bichonfrise74 (Vicar) on Jul 03, 2009 at 03:03 UTC | |
Re: Reading hash
by mzedeler (Pilgrim) on Jul 03, 2009 at 18:44 UTC |