On Tue, 05 Sep 2000 16:46:03 -0700, Nathan Wiger wrote: >Would this be solved if print returned the string it printed? This seems >to be what everyone's getting at: > > my $output = print $r->name . " is $age years old\n"; 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). Also, print @items; should then return join($,, @items).$\ -- Bart.
- RFC 39 (v3) Perl should have a print operator Perl6 RFC Librarian
- Re: RFC 39 (v3) Perl should have a print operator Tom Christiansen
- Re: RFC 39 (v3) Perl should have a print oper... Jon Ericson
- Re: RFC 39 (v3) Perl should have a print ... Nathan Wiger
- Re: RFC 39 (v3) Perl should have a pr... Bart Lateur
- Re: RFC 39 (v3) Perl should have... Jon Ericson
- Re: RFC 39 (v3) Perl should ... Nathan Wiger
- Re: RFC 39 (v3) Perl should have... Tom Christiansen
- Re: RFC 39 (v3) Perl should ... Bart Lateur
- Re: RFC 39 (v3) Perl sho... Tom Christiansen
- Re: RFC 39 (v3) Perl sho... Ask Bjoern Hansen
- Re: RFC 39 (v3) Perl sho... Bart Lateur
- Re: RFC 39 (v3) Perl sho... Chaim Frenkel
- Re: RFC 39 (v3) Perl sho... Ask Bjoern Hansen
- Re: RFC 39 (v3) Perl sho... Jonathan Scott Duff