Re: RFC 361 (v1) Simplifying split()

2000-09-30 Thread Bryan C . Warnock
On Sun, 01 Oct 2000, Sean M. Burke wrote: > If you want to remove trailing fields, under Perl 6 you should have to > do it explicitly: > >Perl 5: @x = split /:/, $bar; > be synonymous with >Perl 6: @x = split ':', $bar; > while(@x and !length $x[-1]) { pop @x } Which,

RFC 290 (v3) Better english names for -X

2000-09-30 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Better english names for -X =head1 VERSION Maintainer: Adam Turoff <[EMAIL PROTECTED]> Date: 24 Sep 2000 Last Modified: 30 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 290 Version: 3 Statu

RFC 287 (v2) Improve Perl Persistance

2000-09-30 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Improve Perl Persistance =head1 VERSION Maintainer: Adam Turoff <[EMAIL PROTECTED]> Date: 24 Sep 2000 Last Modified: 30 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 287 Version: 2 Status:

RFC 358 (v1) Keep dump capability.

2000-09-30 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Keep dump capability. =head1 VERSION Maintainer: S. A. Janet <[EMAIL PROTECTED]> Date: 30 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 358 Version: 1 Status: Developing =head1 ABSTRACT To

RFC 361 (v1) Simplifying split()

2000-09-30 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Simplifying split() =head1 VERSION Maintainer: Sean M. Burke <[EMAIL PROTECTED]> Date: 30 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 361 Version: 1 Status: Developing =head1 ABSTRACT Per

Re: RFC 229 (v2) Variable interpolation on demand.

2000-09-30 Thread Bart Lateur
On Fri, 29 Sep 2000 15:30:46 -0500, David L. Nicol wrote: >it's not a new feature. It's amazing the subtle control you >can get with s/(\$...)/$1/ge depending on your > >Wrapping such a critter up in a tied scalar sounds like a total >piece of cake What will you do with: ${foo}bar

RFC 357 (v1) Perl should use XML for documentation instead of POD

2000-09-30 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Perl should use XML for documentation instead of POD =head1 VERSION Maintainer: Frank Tobin <[EMAIL PROTECTED]> Date: 30 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 357 Version: 1 Status: D

RFC 356 (v2) Dominant Value Expressions

2000-09-30 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Dominant Value Expressions =head1 VERSION Maintainer: Glenn Linderman <[EMAIL PROTECTED]> Date: 29 Sep 2000 Last Modified: 30 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 356 Version: 2 St

RFC 142 (v2) Enhanced Pack/Unpack

2000-09-30 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Enhanced Pack/Unpack =head1 VERSION Maintainer: Edwin Wiles <[EMAIL PROTECTED]> Date: 22 Aug 2000 Last Modified: 30 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 142 Version: 2 Status: Fr

Re: RFC 339 (v1) caller->eval BLOCK

2000-09-30 Thread Greg Williams
On Sep 30 2000 22:38:58, Perl6 RFC Librarian <[EMAIL PROTECTED]> wrote: >=head1 ABSTRACT > >C is extended to allow complete access to the "call frame" of >the current subroutine call. > would this be better suited by the previously proposed (i'm not sure for perl6 though) C pragma? Loo

RFC 115 (v3) Overloadable parentheses for objects

2000-09-30 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Overloadable parentheses for objects =head1 VERSION Maintainer: pdl-porters team <[EMAIL PROTECTED]> Date: 16 Aug 2000 Last Modified: 30 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 115 Vers

Re: RFC 328 (v2) Single quotes don't interpolate \' and \\

2000-09-30 Thread Damien Neil
On Fri, Sep 29, 2000 at 07:24:38PM -0400, Dan Sugalski wrote: > > $foo = """Things like ', ", and \ have no special meaning in here."""; > > Argh! *NO*! That way lies madness, or at least DCL's quoting mania. My > record, in a command procedure that wrote other command procedures that > submi

Re: RFC 288 (v2) First-Class CGI Support

2000-09-30 Thread Russ Allbery
Bart Lateur <[EMAIL PROTECTED]> writes: > But anyway: whould this imply that URL- and simple HTML escaping and > back, will now be available through pack()/unpack()? Just like UUE? > ;-) Adding base64 encoding/decoding and quoted-printable would also be useful. Either that, or taking uuenc

Re: RFC 288 (v2) First-Class CGI Support

2000-09-30 Thread Bart Lateur
On 27 Sep 2000 07:36:42 -, Perl6 RFC Librarian wrote: >Perl6 make it *easier* to write CGI programs than Perl5. That is a strange sentence. But anyway: whould this imply that URL- and simple HTML escaping and back, will now be available through pack()/unpack()? Just like UUE? ;-) -

Re: RFC 355 (v1) Leave $[ alone.

2000-09-30 Thread Bart Lateur
I should have said: file-scoped lexical. On Sat, 30 Sep 2000 21:56:43 +0100, Nicholas Clark wrote: >If it's lexically scoped, would it be for arrays declared in that scope, or >for arrays accessed in that scope? >I'm not sure. I think I see potential breakage both ways. You don't declare Perl a

Re: RFC 355 (v1) Leave $[ alone.

2000-09-30 Thread Glenn Linderman
Bart Lateur wrote: > On 30 Sep 2000 20:13:55 -, Perl6 RFC Librarian wrote: > > >But setting $[ = 1 is the mathematically correct method for > >array addressing and makes it easier for ordinary mortals to do > >basic tasks with C, array addressing and the like. > > I sure don't want the fact t

Re: RFC 288 (v1) First-Class CGI Support

2000-09-30 Thread Bart Lateur
On Sat, 30 Sep 2000 16:39:04 -0400, Adam Turoff wrote: >I repeat: > >> >All of the other features offered by Lincoln Stein's CGI.pm should remain, >> >but should not be deeply integrated into Perl6. > ^^^ >:-) > >The proposed 'use cgi;' pragma is concerned with gluing Perl into a cgi

Re: RFC 355 (v1) Leave $[ alone.

2000-09-30 Thread Nicholas Clark
On Sat, Sep 30, 2000 at 09:56:43PM +0100, Nicholas Clark wrote: > Similarly modules' formatting breaks if you set $/; $\; D'oh > How many of the punctuation variables would be better with less-than-global > scope? Nicholas Clark

Re: RFC 355 (v1) Leave $[ alone.

2000-09-30 Thread Nicholas Clark
On Sat, Sep 30, 2000 at 10:34:40PM +0200, Bart Lateur wrote: > On 30 Sep 2000 20:13:55 -, Perl6 RFC Librarian wrote: > > >But setting $[ = 1 is the mathematically correct method for > >array addressing and makes it easier for ordinary mortals to do > >basic tasks with C, array addressing and

Re: RFC 288 (v1) First-Class CGI Support

2000-09-30 Thread Adam Turoff
On Sat, Sep 30, 2000 at 07:30:03PM +0200, Bart Lateur wrote: > >All of the other features offered by Lincoln Stein's CGI.pm should remain, > >but should not be deeply integrated into Perl6. > > Eek, no! I don't want no steenking p() functions etc. to generate HTML > on the fly! That is one featur

Re: RFC 355 (v1) Leave $[ alone.

2000-09-30 Thread Bart Lateur
On 30 Sep 2000 20:13:55 -, Perl6 RFC Librarian wrote: >But setting $[ = 1 is the mathematically correct method for >array addressing and makes it easier for ordinary mortals to do >basic tasks with C, array addressing and the like. I sure don't want the fact that a scripter decides to change

Re: my and local

2000-09-30 Thread Bart Lateur
On Thu, 28 Sep 2000 10:18:34 +0100, Tom Christiansen wrote: >my is fine, but local >should be changed to something like "temporary" (yes, that >is supposed to be annoying to type) or "dynamic". I like "temporary" best, because it says exactly what the purpose is: temporary $x = $x+2; T

RFC 328 (v3) Single quotes don't interpolate \' and \\

2000-09-30 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Single quotes don't interpolate \' and \\ =head1 VERSION Maintainer: Nicholas Clark <[EMAIL PROTECTED]> Date: 28 Sep 2000 Last Updated: 30 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 328 Ve

RFC 277 (v3) Method calls SHOULD suffer from ambiguity by default

2000-09-30 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Method calls SHOULD suffer from ambiguity by default =head1 VERSION Maintainer: Nathan Wiger <[EMAIL PROTECTED]> Date: 24 Sep 2000 Last Modified: 30 Sep 2000 Mailing List: [EMAIL PROTECTED] Number

RFC 356 (v1) Dominant Value Expressions

2000-09-30 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Dominant Value Expressions =head1 VERSION Maintainer: Glenn Linderman <[EMAIL PROTECTED]> Date: 24 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 356 Version: 1 Status: Developing =head1 ABST

RFC 355 (v1) Leave $[ alone.

2000-09-30 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Leave $[ alone. =head1 VERSION Maintainer: Fred Heutte <[EMAIL PROTECTED]> Date: 29 September 2000 Mailing List: [EMAIL PROTECTED] Number: 355 Version: 1 Status: Developing =head1 ABSTRACT The

Re: IDEA: lexically scoped subs anyone

2000-09-30 Thread Simon Cozens
On Sat, Sep 30, 2000 at 03:48:07PM +0300, Ariel Scolnicov wrote: > This is done in Lisp, and other functional languages. Lisp lets you > declare mutually recursive objects using the (letrec ...) form. In > Scheme, say: > > (letrec ((even? (lambda (x) (if (= x 0) t (odd? (- x 1) >

RFC 327 (v3) C<\v> for Vertical Tab

2000-09-30 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE C<\v> for Vertical Tab =head1 VERSION Maintainer: Nicholas Clark <[EMAIL PROTECTED]> Date: 26 Sep 2000 Last Modified: 30 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 327 Version: 3 Status:

RFC 320 (v2) Allow grouping of -X file tests and add C builtin

2000-09-30 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Allow grouping of -X file tests and add C builtin =head1 VERSION Maintainer: Nathan Wiger <[EMAIL PROTECTED]> Date: 25 Sep 2000 Last Modified: 30 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 3

Re: RFC 320 (v1) Allow grouping of -X file tests and add C builtin

2000-09-30 Thread Bart Lateur
On Tue, 26 Sep 2000 11:13:30 -0700, Nathan Wiger wrote: > -{rwx}; # negation of a hashref That's a weird hashref. Odd number of arguments, anyone? If rwx is supposed to be a sub, we could say that this is an exception, just like $hash{bareword} is an exception. So, if you want the sub,

RFC 292 (v2) Extensions to the perl debugger

2000-09-30 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Extensions to the perl debugger =head1 VERSION Maintainer: David Storrs <[EMAIL PROTECTED]> Date: 25 Sep 2000 Last Modified: 30 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 292 Version: 2

RFC 279 (v2) my() syntax extensions and attribute declarations

2000-09-30 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE my() syntax extensions and attribute declarations =head1 VERSION Maintainer: Nathan Wiger <[EMAIL PROTECTED]> Date: 24 Sep 2000 Last Modified: 30 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 2

RFC 278 (v2) Additions to 'use strict' to fix syntactic ambiguities

2000-09-30 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Additions to 'use strict' to fix syntactic ambiguities =head1 VERSION Maintainer: Nathan Wiger <[EMAIL PROTECTED]> Date: 24 Sep 2000 Last Modified: 30 Sep 2000 Mailing List: [EMAIL PROTECTED]

Re: RFC 288 (v1) First-Class CGI Support

2000-09-30 Thread Bart Lateur
On 25 Sep 2000 06:01:57 -, Perl6 RFC Librarian wrote: >All of the other features offered by Lincoln Stein's CGI.pm should remain, >but should not be deeply integrated into Perl6. No cookie support, please. Cookies should remain in a module. -- Bart.

Re: RFC 288 (v1) First-Class CGI Support

2000-09-30 Thread Bart Lateur
On 25 Sep 2000 06:01:57 -, Perl6 RFC Librarian wrote: >Perl6 should be *easier* to write CGI programs than Perl5. >To make CGI programming easier, this option/pragma should: ... >Parse the CGI context, returning CGI variables into %CGI I like that one. >Not take up gobs of memory That too

Re: RFC 229 (v2) Variable interpolation on demand.

2000-09-30 Thread Glenn Linderman
"David L. Nicol" wrote: > > > > This is a new feature, so name conflict is the only issue. > > > > Thisseems compatiblewith otherextensionsto string > > interpolation... whatever extensions get implemented should work here > > too. > > it's not a new feature. It's amazing

Re: Why -> cannot autoquote the LHS (was Re: RFC 244 (v1) Method calls should not suffer...)

2000-09-30 Thread Glenn Linderman
Nathan Wiger wrote: > (And if the RFC is proposing autoquoting only barewords, then I think > that's _really_ inconsistent and should not be done.) Isn't autoquoting only barewords precisely the type of autoquoting that => does? So there is a precedent. I've been assuming all along that that is

Re: RFC 229 (v2) Variable interpolation on demand.

2000-09-30 Thread Glenn Linderman
"John L. Allen" wrote: > On 29 Sep 2000, Perl6 RFC Librarian wrote: > > > Make Perl's powerful string interpolation facilities are available to > > variables, in addition to literals. > > > > =head1 DESCRIPTION > > > > Given: > > > > $foo = 'def'; > > $bar = 'ghi'; > > $x = "abc$foo$bar"; > > $y

Re: RFC 333 (v1) Add C and C funtions to coredistribution

2000-09-30 Thread Nathan Wiger
Alan Gutierrez wrote: > > This just in from RFC 2068 HTTP/1.1 - 4.2 Message Headers: > > The field value may be preceded by any amount of LWS, though a single SP > is preferred. Header fields can be extended over multiple lines by > preceding each extra line with at least one SP or HT. Yes, sim

Re: IDEA: lexically scoped subs anyone

2000-09-30 Thread Ariel Scolnicov
Simon Cozens <[EMAIL PROTECTED]> writes: > On Fri, Sep 29, 2000 at 04:13:46PM +0100, Piers Cawley wrote: > > Did anyone suggest the following yet? > > package Foo; > > my sub _helper_function { ... } > > Todo: > lexically scoped functions: my sub foo { ... } > the basic conce

Re: RFC 327 (v2) C<\v> for Vertical Tab

2000-09-30 Thread Nicholas Clark
On Fri, Sep 29, 2000 at 05:29:26PM -0700, David Olbersen wrote: > -> -Original Message- > -> From: Russ Allbery [mailto:[EMAIL PROTECTED]] > -> Just out of curiosity, and I'm not objecting to this RFC, has anyone > -> reading this mailing list actually intentionally used a vertical tab for

Re: RFC 277 (v1) Eliminate unquoted barewords from Perl entirely

2000-09-30 Thread Bart Lateur
On Thu, 28 Sep 2000 10:16:43 +0100, Tom Christiansen wrote: >Try thinking of it this way: it's only a bareword if >it would make use strict whinge at you. So every bareword would be recognized as a sub. That, is nice. For starters, Perl parsers can more easily recognize a sub name, without a ne