Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 meditating upon the Monastery: (14)
As of 2015-05-29 15:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (588 votes), past polls