Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by ikegami (Pope)
on Sep 21, 2011 at 01:43 UTC ( #927046=note: print w/replies, xml ) Need Help??


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

Don't need to copy it into two arrays.
print @{[ split / /, '' ]}
  • Comment on Re^2: why do I have to provide context to split result in a separate statement?
  • Download Code

Replies are listed 'Best First'.
Re^3: why do I have to provide context to split result in a separate statement?
by Mark_Galeck (Novice) on Sep 21, 2011 at 02:04 UTC
    Thank you very much!
Re^3: why do I have to provide context to split result in a separate statement?
by jwkrahn (Monsignor) on Sep 21, 2011 at 01:59 UTC
      Only your code does that, not his.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2016-09-28 16:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (533 votes). Check out past polls.