Re: RFC 215 (v2) More defaulting to $_

2000-09-14 Thread Philip Newton
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 $_ =

Re: RFC 215 (v2) More defaulting to $_

2000-09-14 Thread Philip Newton
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),

RFC 215 (v2) More defaulting to $_

2000-09-13 Thread Perl6 RFC Librarian
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:

Re: RFC 215 (v2) More defaulting to $_

2000-09-13 Thread Michael G Schwern
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?