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

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

  • Comment on Re^5: Order of execution of functions in list ( \(shift @_ ) reference to alias \$_[0] references original )

Replies are listed 'Best First'.
Re^6: Order of execution of functions in list ( \(shift @_ ) reference to alias \$_[0] references original )
by ikegami (Patriarch) on Sep 20, 2013 at 18:25 UTC

    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.