> You might understand if I rewrite it with normal parens, which > were made unnecessary by the sub prototypes. > > foo( 1, bar( 2, foo( 3, bar( 4 ) ) ) ); > > Normal nested subroutine calls. No wierd Perlish inverted syntax. > It would look exactly the same in C. The point is, of course, > that things don't necessarily get executed in lexical order, nor > should they be expected to. If you couldn't do this, you'd have > to use lots of temporary variables: > > $t1 = bar(4); > $t2 = foo( 3, $t1 ); > $t3 = bar( 2, $t2 ); > foo( 1, $t3 ); > > and this is what the opcodes generated by the compiler are doing. > > John Porter I understood it fine. I wasn't discussing nested subroutines. Their fun. ==== Want to unsubscribe from Fun With Perl? ==== Well, if you insist... Send mail with body "unsubscribe" to ==== fwp-request@technofile.org