Re: RFC 245 (v1) Add new C keyword to DWIM for clearing values

2000-09-16 Thread Michael G Schwern
> =head1 REFERENCES > > http://www.mail-archive.com/perl6-language@perl.org/msg03703.html > > And a previous, humorous yet poignant one from Tom C which appears to > have vanished That would be his s/undef/uninitialize/ suggestion. http://www.mail-archive.com/perl-qa@perl.org/msg00184.html --

RFC 245 (v1) Add new C keyword to DWIM for clearing values

2000-09-16 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Add new C keyword to DWIM for clearing values =head1 VERSION Maintainer: Nathan Wiger <[EMAIL PROTECTED]> Date: 16 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 245 Version: 1 Status: D

RFC 181 (v2) Formats out of core / New format syntax

2000-09-16 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Formats out of core / New format syntax =head1 VERSION Maintainer: Nathan Wiger <[EMAIL PROTECTED]> Date: 30 Aug 2000 Last Modified: 16 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 181 Versi

RFC 105 (v2) Remove "In string @ must be \@" fatal error

2000-09-16 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Remove "In string @ must be \@" fatal error =head1 VERSION Maintainer: Nathan Wiger <[EMAIL PROTECTED]> Date: 15 Aug 2000 Last-Modified: 16 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 105 V

Re: RFC 103 (v2) Fix C<$pkg::$var> precedence issues with parsing of C<::>

2000-09-16 Thread Michael G Schwern
On Sat, Sep 16, 2000 at 07:26:38PM -0700, Nathan Wiger wrote: > My point was more should that be > >'Class'->name > > or > >Class()->name I don't get it, lemme start from the beginning: print "Basset hounds got long Basset::Hounds->thang()."; I'd like that to work out as: p

Re: RFC 103 (v2) Fix C<$pkg::$var> precedence issues with parsing of C<::>

2000-09-16 Thread Nathan Wiger
Michael G Schwern wrote: > > >print "Your name is Class->name"; > > > > Whether Class is 'Class' or Class(). The phrase "avoid at all costs" > > comes to mind. ;-) > > Hmmm... we could require that the trailing parens be there: > > print "Your name is Class->name()"; Right, we could do

Re: RFC 103 (v2) Fix C<$pkg::$var> precedence issues with parsing of C<::>

2000-09-16 Thread Michael G Schwern
On Sat, Sep 16, 2000 at 02:57:01PM -0700, Nathan Wiger wrote: > > Ooop, didn't even notice and didn't see the discussion. Let me see if > > I missed anything... I didn't discuss class methods as opposed to > > object methods. Will ponder. > > It's really dicey. I think it's probably bad, becaus

Re: RFC 242 (v1) No overloading of f($arg) basing on ref($arg)

2000-09-16 Thread Nathan Wiger
> No overloading of f($arg) basing on ref($arg) > There are several proposals to switch the meaning of C basing on > the whether $arg is an array reference or not. For example, it is tempting > to allow C<$array[[2,3]]> denote the same as C<$array[2][3]>. Ilya- I know I'd personally appreciate

Re: RFC 195 (v2) Retire chop().

2000-09-16 Thread Tom Christiansen
>> Maintainer: Nathan Torkington <[EMAIL PROTECTED]> >> Date: 5 Sep 2000 >> Last Modified: 15 Sep 2000 >> Mailing List: [EMAIL PROTECTED] >> Number: 195 >> Version: 2 >> Status: Frozen >As I mailed to Nathan Torkington several days ago (without getting >a reply), many people use ch

Re: RFC 103 (v2) Fix C<$pkg::$var> precedence issues with parsing of C<::>

2000-09-16 Thread Nathan Wiger
> ${$pkg.'::'.$var} = $val; > ${"$pkg\::$var} = $val; > > Still ugly, but not quite as bad as what you came up with. Thanks - once I saw the first one my brain went "Oh, yeah" > Ooop, didn't even notice and didn't see the discussion. Let me see if > I missed anything... I didn't

Re: RFC 195 (v2) Retire chop().

2000-09-16 Thread Sven Neuhaus
On Sat, Sep 16, 2000 at 03:28:26AM -, Perl6 RFC Librarian wrote: > =head1 TITLE > > Retire chop(). > > =head1 VERSION > > Maintainer: Nathan Torkington <[EMAIL PROTECTED]> > Date: 5 Sep 2000 > Last Modified: 15 Sep 2000 > Mailing List: [EMAIL PROTECTED] > Number: 195 > Version:

Re: RFC 230 (v1) Replace C built-in with pragmatically-induced C function

2000-09-16 Thread Nathan Wiger
> Replace C built-in with pragmatically-induced C function > This RFC proposes that Perl's existing C mechanism be replaced > with a standard module based on parts of the Text::Autoformat module. One other little thing: I really think this should be use Format; # like 'use Socket' and 'u

Re: RFC 71 (v2) Legacy Perl $pkg'var should die

2000-09-16 Thread Michael G Schwern
On Sat, Sep 16, 2000 at 09:18:05AM -0700, Nathan Wiger wrote: > "use D'oh" will be missed :-), but sometimes legacy stuff needs to be > expunged to get people to modernize. Of all the legacy things which get abused, this is the one I've never seen. > Plus, ' is already widely-used as a single-

Re: RFC 244 (v1) Method calls should not suffer from the action on a distance

2000-09-16 Thread Nathan Wiger
> This RFC proposes to remove indirect object syntax Please show me how to write: print STDERR @stuff; without it, while keeping it a method of the STDERR filehandle, and without requiring ->. -Nate

Re: RFC 243 (v1) No special UPPERCASE_NAME subroutines

2000-09-16 Thread Nathan Wiger
> No special UPPERCASE_NAME subroutines Whoa! What about ALLCAPS variables? Should we axe all of them as well? They're the exact same idea. > If some special action handler needs to be registered, this should be > done not by using a special name, but by a pragma. > > use tie STORE => sub { .

Re: RFC 71 (v2) Legacy Perl $pkg'var should die

2000-09-16 Thread Nathan Wiger
> > Perl used to use $pkg'var instead of the modern $pkg::var. This is still > > in Perl 5. It's gotta go. > > Aside from "its old", is there any particular reason why $pkg'var > should go? "use D'oh" will be missed :-), but sometimes legacy stuff needs to be expunged to get people to modernize.

Re: RFC 241 (v1) Pseudo-hashes must die!

2000-09-16 Thread Michael G Schwern
On Sat, Sep 16, 2000 at 10:31:55AM +0100, Hildo Biersma wrote: > AFAIK, most of the pain in the implementation is caused because any old > array can be 'promoted' into a pseduo-hash at any-time. If > pseudo-hashes always have to be pre-declared (eg, can only be created > through fields::new()) an

Re: RFC 241 (v1) Pseudo-hashes must die!

2000-09-16 Thread Hildo Biersma
> =head1 ABSTRACT > > Pseudo-hashes and the associated fields pragma shoule be removed from > Perl 6. A few counter points: Removal of pseudo-hashes should not stop us from using this (or a similar mechanism) under the covers in perl6 to implement strongly typed objects. AFAIK, most of the pai

Re: Backtracing contexts with self($n) (was Re: RFC 223 (v1) Objects: C pragma)

2000-09-16 Thread Hildo Biersma
Nathan Wiger wrote: > > > I think such modules are a bad idea, because their functionality is > > typically restricted. > > What, you mean like CGI.pm ?! :-) Yes, restricted. If you use the procedural interface to a module that supports both OO and procedural interfaces, you're basically at th

Re: RFC 223 (v1) Objects: C pragma

2000-09-16 Thread Hildo Biersma
John Porter wrote: > > Hildo Biersma wrote: > > > > I think such modules are a bad idea, because their functionality is > > typically restricted. > > Oh? Where do you get that idea? Think about it. If a module supports both an OO and a procedural interface, the procedural interface either requ

Re: RFC 244 (v1) Method calls should not suffer from the action on a distance

2000-09-16 Thread Michael G Schwern
On Sat, Sep 16, 2000 at 08:08:06AM -, Perl6 RFC Librarian wrote: > There only way to avoid the action at a distance is to prohibit one of these > interpretations. Since the other way C> to write this > method call is as convenient as the indirect object syntax, the proposal > is to

RFC 244 (v1) Method calls should not suffer from the action on a distance

2000-09-16 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Method calls should not suffer from the action on a distance =head1 VERSION Maintainer: Ilya Zakharevich <[EMAIL PROTECTED]> Date: 15 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 244 Version:

RFC 243 (v1) No special UPPERCASE_NAME subroutines

2000-09-16 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE No special UPPERCASE_NAME subroutines =head1 VERSION Maintainer: Ilya Zakharevich <[EMAIL PROTECTED]> Date: 15 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 243 Version: 1 Status: Developing

RFC 242 (v1) No overloading of f($arg) basing on ref($arg)

2000-09-16 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE No overloading of f($arg) basing on ref($arg) =head1 VERSION Maintainer: Ilya Zakharevich <[EMAIL PROTECTED]> Date: 15 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 242 Version: 1 Status: Dev

Re: RFC 236 (v1) Change the way $SIG{__WARN__} and $SIG{__DIE__} are used

2000-09-16 Thread Simon Cozens
On Sat, Sep 16, 2000 at 03:36:45AM -, Perl6 RFC Librarian wrote: > The current method in which C<__WARN__> and C<__DIE__> signal handlers are > used is limited in 2ways: > > =over 8 > > =item It does not allow them to accept robust parameter lists. > > =item It does not allow for multiple l