I like the sound of that... last I heard there was some strong opposition to an ||= that tests for definedness rather than truthfulness. I've always been on the side of having such a construct, especially since ||= is so tempting for newbies to use, even *after* they've been told of the pitfalls.
The only remaining question is what will the operator look like?
-Blake
In reply to Re: Re: Re: Re: OO Perl: calling a constructor within a class
by blakem
in thread OO Perl: calling a constructor within a class
by fx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |