Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Integer regex, different results in windows and mac - I just need regex help

by dave_the_m (Prior)
on Oct 19, 2017 at 06:45 UTC ( #1201654=note: print w/replies, xml ) Need Help??


in reply to Integer regex, different results in windows and mac - I just need regex help

You've probably got DOS line endings in your data. Try adding $num =~ s/\s+$//; to the top of the loop.

Dave.

  • Comment on Re: Integer regex, different results in windows and mac - I just need regex help
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1201654]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2018-04-20 03:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?