in reply to Re^4: Need to get the intersect of hashes
in thread Need to get the intersect of hashes

Bingo! I thought so :) It is not a hash - it is hash of arrays and that's the place where you have to get familiar with references. $system_file_data{$intersect_file} gives you in return reference to an array, so you must do:
$array_ref = $system_file_data{$intersect_file}; @array = @$array_ref; print @array; # or print $array[0];
Check the other hash, it should be accessible in similar way, too.

Replies are listed 'Best First'.
Re^6: Need to get the intersect of hashes
by jbush82 (Novice) on May 15, 2008 at 08:50 UTC
    Awesome, now I get it.. I've been trying to figure out how to treat a key with multiple values it as an array.

    Thanks for the help guys.