Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Splitting multiple patterns

by exilepanda (Pilgrim)
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\,]+/, $_;

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 lurking in the Monastery: (7)
As of 2016-08-26 06:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (366 votes). Check out past polls.