Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Re: Re: Re: OO Perl: calling a constructor within a classby blakem (Monsignor) |
on Sep 28, 2001 at 11:20 UTC ( [id://115330]=note: print w/replies, xml ) | Need Help?? |
Perl 6 is going to have a much nicer way to solve this problem.
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 Section
Seekers of Perl Wisdom
|
|