Re: RFC 192 (v1) Undef values ne value

2000-09-04 Thread Tom Christiansen
If you compare a variable that is undefined with something, perl winges. Perl never whinges unless you turn on warnings. An undefined value is not equal to a string, it should do the right thing. Comparing the undefined value against something else--that is, using undef as though it were

Re: RFC 192 (v1) Undef values ne value

2000-09-04 Thread Michael G Schwern
On Mon, Sep 04, 2000 at 09:52:19PM -, Perl6 RFC Librarian wrote: Perl winges if you compare an undefined value. This is silly and one often has to test for the undefined case (and the empty case for == and !=), then the equality that the programs logic calls for. If you leave warnings

RFC 192 (v1) Undef values ne value

2000-09-04 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Undef values ne value =head1 VERSION Maintainer: Richard Proctor [EMAIL PROTECTED] Date: 4 Sep 2000 Mailing List: [EMAIL PROTECTED] Version: 1 Number: 192 Status: Developing =head1 ABSTRACT