in reply to Re^4: Retrieving Key and Value Hashes
in thread Retrieving Key and Value Hashes
I would suggest that you add some debugging statements to the first part of your script, for example as follows:
and provide the printed output (or part thereof if it is large).use Data::Dumper; open(FILE1, $ARGV[0]) or die "Cannot open the file: $!"; my %hash1 = split ' ', do{ local $/; <FILE1> }; close FILE1; print Dumper \%hash1;
Update: Fixed a typo in the code above. Thanks to AnomalousMonk for having picked it and informed me.
|
|---|