Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: How to get split $var to work like split ' '?

by Laurent_R (Abbot)
on Sep 10, 2013 at 17:19 UTC ( #1053324=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @fields  = defined $pattern? split $pattern, $line : split ' ', $line;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1053324]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2016-12-05 12:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (82 votes). Check out past polls.