On Mon, Jun 19, 2017 at 12:41 AM, ToddAndMargo <[email protected]> wrote:
> On 06/17/2017 12:22 AM, yary wrote: > >> last if ++$true_count == 6; >> > > ++$true_count > > Is that the same as `$true_count + 1` ? > > And does it alter the value of $true_count > Yes and yes, just like in C and Perl 5; note that being preincrement, it changes the variable's value *before* it is retrieved, whereas "$true_count++" would change it *after*. -- brandon s allbery kf8nh sine nomine associates [email protected] [email protected] unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
