in reply to Hash question - using value of one hash to determine existence in second hash
In getinfo you're directly reading each line, which means you've probably got newline characters stuck at the end. If this is the case, it will look to perl like it's a different string than the corresponding key your other hash. Try chomping the line before stuffing it in your hash, like so: chomp($line = <FH>).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Hash question - using value of one hash to determine existence in second hash
by Popcorn Dave (Abbot) on Nov 17, 2002 at 06:51 UTC |