Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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


Comment on Re: Idiomatic Split to Scalar Conversion
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2014-08-27 09:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (235 votes), past polls