develooper Front page | perl.perl5.porters | Postings from April 2000

Re: We wantlvalue(), too!

From:
Damian Conway
Date:
April 2, 2000 17:54
Subject:
Re: We wantlvalue(), too!
Message ID:
200004030054.KAA09880@indy05.csse.monash.edu.au
Chaim wrote:

   > >> Clearly want(undef) doesn't return undef, because that would
   > >> be false. So what does it return?
   > 
   > DC> When called with arguments C<want> always returns true or false.
   > DC> Come to think of it, it's very unlikely anyone would want to call it
   > DC> without arguments, so let's just scrap that alternative.
   > 
   > Unlikely?
   > 
   > Your example, is a counter-example, it showed a great use. It debugs
   > the crypto context of a sub.

Good point. I've updated the proposal:

	http://www.csse.monash.edu.au/~damian/Perl/want.proposal

to reinstate that option.

Damian



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