develooper Front page | perl.perl6.language | Postings from February 2004

Re: Exegesis 7: Overflow Fields

Thread Previous | Thread Next
From:
Damian Conway
Date:
February 29, 2004 16:31
Subject:
Re: Exegesis 7: Overflow Fields
Message ID:
4042845E.9080702@conway.org
> But that means I have to pre-process data lists that just happen to
> contain empty strings so that they won't disappear on me.

Huh? An empty string already *has* disappeared on you. ;-)


 > This seems to violate least surprise.

I'd be much more surprised if an empty string *didn't* disappear.
After all, you wouldn't expect:

	$str1 = "nothing" . "to" . "see";

to be different from:

	$str1 = "nothing" . "" . "to" . "" . "see";


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