my %CFG = ( Command => [ "DES", "Copy", "CMD", "cp file1 file2'Hello'", "DES", "Remove", "CMD", "rm file1", "DES", "View", "CMD", "vi file1", ], ); #### my %CFG = ( Command => [ { DES => "Copy", CMD => "cp file1 file2'Hello'" }, { DES => "Remove", CMD => "rm file1" }, { DES => "View", CMD => "vi file1" }, ], );