XP is just a number | |
PerlMonks |
Re: Pattern Match and Replace Problemby Chady (Priest) |
on Apr 27, 2001 at 23:51 UTC ( [id://76247]=note: print w/replies, xml ) | Need Help?? |
Answer to #2: you already split the individual lines into array fields, so \ns will only be at the end of the lines... you should chomp instead:
He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life. Chady | http://chady.net/
In Section
Seekers of Perl Wisdom
|
|