Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 rifling through the Monastery: (12)
As of 2016-06-29 19:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (386 votes). Check out past polls.