Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1201654]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2024-04-23 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found