Problems? Is your data what you think it is? | |
PerlMonks |
Re: Integer regex, different results in windows and mac - I just need regex helpby dave_the_m (Monsignor) |
on Oct 19, 2017 at 06:45 UTC ( [id://1201654]=note: print w/replies, xml ) | Need Help?? |
You've probably got DOS line endings in your data. Try adding $num =~ s/\s+$//; to the top of the loop.
Dave.
In Section
Seekers of Perl Wisdom
|
|