Re: RFC 39 (v3) Perl should have a print operator

[email protected] (Bart Lateur) Wed, 06 Sep 2000 01:55:35 +0200
Newsgroups perl.perl6.language.io
Organization MediaMind
Message-ID <[email protected]>
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.