Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 examining the Monastery: (17)
As of 2015-07-28 19:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls