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

Re: Idiomatic Split to Scalar Conversion

by stephen (Priest)
on Apr 29, 2002 at 22:59 UTC ( #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
Node Status?
node history
Node Type: note [id://162955]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2017-10-19 09:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (252 votes). Check out past polls.

    Notices?