in reply to hash of hashes
hi,
As per my views, I would like to tell you my suggestion is:
At the end, you are reading an input file call "EXAMPLE", and fetching each line by line, while doing so, In the code, $id = $_; what happens is $_ is the default variable which carries a trailing record separator from a string, so you have to remove that by using chomp function. that will work.
Bye
Don't put off till tomorrow, what you can do today.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: hash of hashes
by Anonymous Monk on Nov 23, 2006 at 11:27 UTC | |
by graff (Chancellor) on Nov 27, 2006 at 04:18 UTC | |
by Anonymous Monk on Nov 23, 2006 at 11:30 UTC |
In Section
Seekers of Perl Wisdom