in reply to Re^3: Reading hash
in thread Reading hash
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" }, );
|
---|