develooper Front page | perl.perl6.language | Postings from May 2001

Re: Damian Conway's Exegesis 2

Thread Previous | Thread Next
From:
Damian Conway
Date:
May 15, 2001 18:07
Subject:
Re: Damian Conway's Exegesis 2
Message ID:
200105160107.LAA75321@indy05.csse.monash.edu.au
John Siracusa wrote:

   > Okay, this part has me confused.  

And rightly so: it was a screw-up. I lost track of whether I was keeping
the property on the value or on the node reference and ended up doing both.

Interestingly, the code would still have *worked* since the (originally
unset) property on the node reference would have returned C<undef> which
would undergo the usual boolean conversion in the C<if>, and the usual
promotion to zero in the numerical context of the increment.

Anyway, a patch is winging it's way to Simon even as I type.

Thanks for pointing out the snafu, John.

Damian

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About