Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: why do I have to provide context to split result in a separate statement?

by jwkrahn (Monsignor)
on Sep 21, 2011 at 01:40 UTC ( #927045=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print @{[@arr = split / /, '']}
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://927045]
help
Chatterbox?
[jedikaiti]: Your Mother++ #♫ You say apod, I say Perl POD ... let's call the whole thing off ♬

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2017-08-18 17:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (306 votes). Check out past polls.

    Notices?