in reply to Re^4: Filtering Output from two files
in thread Filtering Output from two files
Anonymous Monk:
What am i doing wrong?
print Dumper(\%hash);
$line =~ s/\s+$//; # trim whitespace
If you're still not getting output, you may want to add:
in the loop where you're searching for, so you can see what key is being looked for, and compare that against the keys displayed by Dumper previously.print "<$fields[0]>\n";
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Filtering Output from two files
by Anonymous Monk on Feb 06, 2018 at 06:04 UTC | |
by Anonymous Monk on Feb 06, 2018 at 06:19 UTC | |
by roboticus (Chancellor) on Feb 06, 2018 at 08:47 UTC | |
by Anonymous Monk on Feb 06, 2018 at 09:12 UTC | |
by Anonymous Monk on Feb 06, 2018 at 09:22 UTC | |
| |
by Anonymous Monk on Feb 06, 2018 at 06:22 UTC | |
by Anonymous Monk on Feb 06, 2018 at 06:30 UTC |