in reply to Unexpected difference in whitespace parsing in subroutine calls.

Although I got the same results in 5.8.1, I actually got different results in 5.6.0 :

001001

Which, would suggest that although the & forced it to sort the results of the function f(0), means that without the &, it behaves consistently (at least for all of the varients that I tried).

  • Comment on Re: Unexpected difference in whitespace parsing in subroutine calls.
  • Download Code

Replies are listed 'Best First'.
Re^2: Unexpected difference in whitespace parsing in subroutine calls.
by Lexicon (Chaplain) on Jul 10, 2005 at 23:52 UTC
    That's much more what I expect it to do. I was thinking about why this bothers me more than other perl quirks... If there's anything that I expect to disambiguate something, it's parentheses! But in this case adding parens makes it more ambiguous. :)