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
- 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