more useful options | |
PerlMonks |
Re: hash of hashesby l.frankline (Hermit) |
on Nov 23, 2006 at 11:22 UTC ( [id://585701]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|