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 (Abbot) on Sep 21, 2011 at 01:59 UTC
      Only your code does that, not his.