Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: My split command isnt working - please advise

by FunkyMonk (Canon)
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]);


Comment on Re: My split command isnt working - please advise
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
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 romping around the Monastery: (6)
As of 2015-09-01 09:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (369 votes), past polls