David Moreno Garza wrote: > On Fri, 2007-01-19 at 13:24 +0000, Rob Dixon wrote: >> ++$lines; > > What's exactly the difference between: > > ++$lines; > > and > > $lines++; ?
In void context they are both the same because perl optimizes $lines++ to ++$lines. John -- Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of tools at low cost and in short order. -- Larry Wall -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/