in reply to Re^2: Reading hash
in thread Reading hash

If you want to be logical, you should consider pre-existing solution, like Apache Ant

Replies are listed 'Best First'.
Re^4: Reading hash
by ikegami (Patriarch) on Jul 03, 2009 at 05:04 UTC

    oh! "DES" is description. (yay guessing games!) You have a HoA, but you want a AoH.

    my @commands = ( { DES => "Copy", CMD => "cp file1 file2'Hello'" }, { DES => "Remove", CMD => "rm file1" }, { DES => "View", CMD => "vi file1" }, );