> $ perl -Dt -le '$b=$b++' > > EXECUTING... > > (-e:0) enter > (-e:0) nextstate > (-e:1) gvsv(main::b) > (-e:1) postinc > (-e:1) gvsv(main::b) > (-e:1) sassign > (-e:1) leave > > What I think this means is, "Take the current value of $b, save it as > the result of the expression. Increment $b. Set $b to the saved > result of the expression." > > Whereas the other case is much easier to explain: > > $b = ++$b > > means, increment the value of $b, take the resulting value as the > result of the expression, assign it to $b. > > Of course, "Don't do that." But since you asked... > -- > Peter Scott
Peter, Thanks, that is exactly what I was looking for. /Michael Now to go look up how you did that... especially "-Dt" Oh, Dubugging not available with my package... hmm -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]