On 13 Sep 2000, Perl6 RFC Librarian wrote:
An inconsistency between "Cprint" and "" bugs me: "Cprint;" means
"Cprint $_;" so it seems like "" should mean "C$_ = ".
This would break code prompting for "Press any key" and wasting the
input.
I suggest again:
s/""/"C "/g; s/C$_ = /C $_ =
On 13 Sep 2000, Perl6 RFC Librarian wrote:
=head1 DESCRIPTION
$_ is the default scalar for a small set of operations and functions.
Most of these operations and functions are ones that use C=~.
Er, no. Quite a few others also use $_. The ones I found: -X filehandle
tests (except for -t),
This and other RFCs are available on the web at
http://dev.perl.org/rfc/
=head1 TITLE
More defaulting to $_
=head1 VERSION
Maintainer: Kenneth C. Rich [EMAIL PROTECTED]
Date: 10 Sep 2000
Last Modified: 13 Sep 2000
Mailing List: [EMAIL PROTECTED]
Number: 215
Version:
On Wed, Sep 13, 2000 at 08:42:28PM -, Perl6 RFC Librarian wrote:
Actually, some days I wish "Cprint;" meant "print nothing." I was tempted
to title this RFC "Make Cprint and consistent."
Color me stupid, but if you wanted to print nothing, shouldn't you
just delete the print statement?