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

[email protected] (Nathan Wiger) Tue, 05 Sep 2000 16:46:03 -0700
Newsgroups perl.perl6.language.io
Organization Sun Microsystems
Message-ID <[email protected]>
Jon Ericson wrote:
> 
> Agreed.  Good style would avoid this problem.  The example in the
> synopsis of this RFC should be:
> 
>   my $output = >"Print this line.\n"<;

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 the syntax of >< is bad, but the overall idea is good.

-Nate