Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Idiomatic Split to Scalar Conversion

by stephen (Priest)
on Apr 29, 2002 at 22:59 UTC ( [id://162955]=note: print w/replies, xml ) Need Help??


in reply to Idiomatic Split to Scalar Conversion

my $foo = @{ [ split(/,/, "foo,bar,baz") ] };

stephen

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-25 10:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found