Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by dave_the_m (Monsignor)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2019-07-17 20:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?