>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";
*Why* would you want that? What's the practical use? I cannot ever
recall writing, or wishing for, anything like this:
sub what_print_would_print_if_print_would_print_what_print_would_print {
return join($, => @_) . $\;
}
--tom
- Re: RFC 39 (v3) Perl should have a pr... Jon Ericson
- Re: RFC 39 (v3) Perl should have... Nathan Wiger
- Re: RFC 39 (v3) Perl should have a pr... Tom Christiansen
- Re: RFC 39 (v3) Perl should have... Bart Lateur
- Re: RFC 39 (v3) Perl should ... Tom Christiansen
- Re: RFC 39 (v3) Perl should ... Ask Bjoern Hansen
- Re: RFC 39 (v3) Perl should ... Bart Lateur
- Re: RFC 39 (v3) Perl should ... Chaim Frenkel
- Re: RFC 39 (v3) Perl should ... Ask Bjoern Hansen
- Re: RFC 39 (v3) Perl should ... Jonathan Scott Duff
- Re: RFC 39 (v3) Perl should have a print ... Tom Christiansen
- Re: RFC 39 (v3) Perl should have a print oper... Tom Christiansen
- Re: RFC 39 (v3) Perl should have a print ... Jon Ericson
- Re: RFC 39 (v3) Perl should have a pr... Tom Christiansen
- Re: RFC 39 (v3) Perl should have a print operator Bart Lateur
- Re: RFC 39 (v3) Perl should have a print operator Jon Ericson
- Re: RFC 39 (v3) Perl should have a print oper... Peter Scott
