Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Unexpected difference in whitespace parsing in subroutine calls.

by jhourcle (Prior)
on Jul 10, 2005 at 23:18 UTC ( [id://473806]=note: print w/replies, xml ) Need Help??


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. :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (None)
    As of 2024-04-25 04:04 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found