Perl Monk, Perl Meditation | |
PerlMonks |
Re: nested if elseby lidden (Curate) |
on Jul 13, 2011 at 06:04 UTC ( [id://914061]=note: print w/replies, xml ) | Need Help?? |
Your variables will contain newline chars. All your ifs will fail. Try chomp $metric; after you have read something into it.
In Section
Seekers of Perl Wisdom
|
|