Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: My split command isnt working - please advise

by FunkyMonk (Chancellor)
on May 23, 2011 at 12:08 UTC ( #906285=note: print w/replies, xml ) Need Help??


in reply to My split command isnt working - please advise

You need a single backslash in your split, not two:

my @nums = split(/\./, $sf[0]);

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://906285]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2022-08-17 07:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?