|Just another Perl shrine|
Order of execution of functions in listby vsespb (Hermit)
|on Sep 13, 2013 at 12:34 UTC||Need Help??|
vsespb has asked for the
wisdom of the Perl Monks concerning the following question:
It seems like order of execution of some expressions is undefined, including list of arguments to a function call.
1: eval order of args to a sub
2: Why is the execution order of subexpressions undefined?
Now I'm wondering if this is a valid code:
Probably not valid. However I see it's widely used on CPAN: cpan grep
So, question is: is it allowed by perl documentation?