Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^4: Order of execution of functions in list

by ikegami (Pope)
on Sep 16, 2013 at 02:08 UTC ( #1054207=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Order of execution of functions in list
in thread Order of execution of functions in list

But since it's not documented, I doubt that this is reliable behavior.

It's an emergent behaviour; it's not by design.


Comment on Re^4: Order of execution of functions in list
Re^5: Order of execution of functions in list ( \(shift @_ ) reference to alias \$_[0] references original )
by Anonymous Monk on Sep 16, 2013 at 03:12 UTC

    It's an emergent behaviour; it's not by design.

    What's that mean (important why)?

    It goes back far enough (5.8 at least) and its in t/op/sub_lval.t update: since 2001

    so it emerged? long ago :)

    OTOH, a reference to an alias takes a reference to the original and incrementing tat referenced value increments the original -- can't see any aliasing magic being preserves, references reference

      To design something means you've chosen how it behaves. If something is not the result of design, it means noone chose to have it behave in that particular fashion. The behaviour merely emerged. This means no analysis of the behaviour was performed, so it may not be a desired behaviour.

      so it emerged? long ago :)

      Sure, but not necessarily relevant.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2014-07-31 03:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (244 votes), past polls