Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Splitting multiple patterns

by exilepanda (Monk)
on Apr 09, 2012 at 08:03 UTC ( #964097=note: print w/ replies, xml ) Need Help??


in reply to Splitting multiple patterns

if you sure your pattern is correct and like this all the time, you can use this :
my ( $name, $age, $sex, $ad ) = split /[\s\,]+/, $_;


Comment on Re: Splitting multiple patterns
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2015-07-04 17:06 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 (60 votes), past polls