Re: RFC 39 (v3) Perl should have a print operator
[email protected] (Tom Christiansen) Tue, 05 Sep 2000 18:37:11 -0600
| Newsgroups | perl.perl6.language.io |
|---|---|
| Message-ID | <23531.968200631@chthon> |
>I think that's the idea... and print may return undef if it fails to >print, and the printed string otherwise (always defined, even if it's an >emtpy string). Those are not the semantics of print. It returns true (1) if successful, and false (undef) otherwise. You cannot change that. If I write print "0", it bloody well shan't be returning false. And what are you going to do about buffering? What do you *REALLY* want to do??? --tom