Re: RFC 223 (v1) Objects: C pragma

2000-09-18 Thread Piers Cawley
Perl6 RFC Librarian <[EMAIL PROTECTED]> writes: > This and other RFCs are available on the web at > http://dev.perl.org/rfc/ > > =head1 TITLE > > Objects: C pragma > > =head1 VERSION > > Maintainer: Damian Conway <[EMAIL PROTECTED]> > Date: 14 September 2000 > Mailing List: [EMAIL PRO

Re: RFC 100 (v2) Embed full URI support into Perl

2000-09-18 Thread Piers Cawley
Perl6 RFC Librarian <[EMAIL PROTECTED]> writes: > This and other RFCs are available on the web at > http://dev.perl.org/rfc/ > > =head1 TITLE > > Embed full URI support into Perl > > =head1 VERSION > > Maintainer: Nathan Wiger <[EMAIL PROTECTED]> > Date: 14 Aug 2000 > Last-Modified: 1

RFC 24 (v2) Data types: Semi-finite (lazy) lists

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Data types: Semi-finite (lazy) lists =head1 VERSION Maintainer: Damian Conway <[EMAIL PROTECTED]> Date: 4 Aug 2000 Last Modified: 18 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 24 Version:

RFC 22 (v2) Control flow: Builtin switch statement

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Control flow: Builtin switch statement =head1 VERSION Maintainer: Damian Conway <[EMAIL PROTECTED]> Date: 4 Aug 2000 Last Modified: 18 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 22 Version

RFC 25 (v2) Operators: Multiway comparisons

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Operators: Multiway comparisons =head1 VERSION Maintainer: Damian Conway <[EMAIL PROTECTED]> Date: 4 Aug 2000 Last Modified: 18 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 25 Version: 2 S

RFC 23 (v5) Higher order functions

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Higher order functions =head1 VERSION Maintainer: Damian Conway <[EMAIL PROTECTED]> Date: 4 Aug 2000 Last Modified: 18 Sep 2000 Number: 23 Version: 5 Mailing List: [EMAIL PROTECTED] Status: Fr

RFC 31 (v2) Subroutines: Co-routines

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Subroutines: Co-routines =head1 VERSION Maintainer: Damian Conway <[EMAIL PROTECTED]> Date: 4 Aug 2000 Last Modified: 18 Sep 2000 Number: 31 Version: 2 Mailing List: [EMAIL PROTECTED] Status:

RFC 42 (v3) Request For New Pragma: Shell

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Request For New Pragma: Shell =head1 VERSION Maintainer: Bryan C. Warnock <[EMAIL PROTECTED]> Date: 5 Aug 2000 Last Modified: 18 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 42 Version: 3

RFC 54 (v2) Operators: Polymorphic comparisons

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Operators: Polymorphic comparisons =head1 VERSION Maintainer: Damian Conway <[EMAIL PROTECTED]> Date: 7 Aug 2000 Last Modified: 18 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 54 Version: 2

RFC 55 (v2) Compilation: Remove requirement for final true value in require-d and do-ed files

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Compilation: Remove requirement for final true value in require-d and do-ed files =head1 VERSION Maintainer: Damian Conway <[EMAIL PROTECTED]> Date: 7 Aug 2000 Last Modified: 18 Sep 2000 Mailing Lis

RFC 70 (v4) Allow exception-based error-reporting.

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Allow exception-based error-reporting. =head1 VERSION Maintainer: Bennett Todd <[EMAIL PROTECTED]> Date: 8 Aug 2000 Last Modified: 18 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 70 Version:

RFC 84 (v2) Replace => (stringifying comma) with => (pair constructor)

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Replace => (stringifying comma) with => (pair constructor) =head1 VERSION Maintainer: Damian Conway <[EMAIL PROTECTED]> Date: 10 Aug 2000 Last Modified: 18 Sep 2000 Mailing List: [EMAIL PROTECTED]

RFC 93 (v3) Regex: Support for incremental pattern matching

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Regex: Support for incremental pattern matching =head1 VERSION Maintainer: Damian Conway <[EMAIL PROTECTED]> Date: 11 Aug 2000 Last Modified: 18 Sep 2000 Number: 93 Version: 3 Mailing List: [EMA

RFC 137 (v2) Overview: Perl OO should I be fundamentally changed.

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Overview: Perl OO should I be fundamentally changed. =head1 VERSION Maintainer: Damian Conway <[EMAIL PROTECTED]> Date: 21 Aug 2000 Last Modified: 18 Sep 2000 Mailing List: [EMAIL PROTECTED] Numbe

RFC 148 (v2) Add reshape() for multi-dimensional array reshaping

2000-09-18 Thread Perl6 RFC Librarian
=head1 VERSION Reply-To: [EMAIL PROTECTED] This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Add reshape() for multi-dimensional array reshaping =head1 VERSION Maintainer: Nathan Wiger <[EMAIL PROTECTED]> Date: 24 Aug 2000 Last Modi

RFC 195 (v3) Retire chop().

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Retire chop(). =head1 VERSION Maintainer: Nathan Torkington <[EMAIL PROTECTED]> Date: 5 Sep 2000 Last Modified: 18 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 195 Version: 3 Status: Froze

RFC 225 (v2) Data: Superpositions

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Data: Superpositions =head1 VERSION Maintainer: Damian Conway <[EMAIL PROTECTED]> Date: 14 Sep 2000 Last Modified: 18 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 225 Version: 2 Status: Fr

RFC 230 (v2) Replace C built-in with pragmatically-induced C function

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Replace C built-in with pragmatically-induced C function =head1 VERSION Maintainer: Damian Conway <[EMAIL PROTECTED]> Date: 15 Sep 2000 Last Modified: 18 Sep 2000 Mailing List: [EMAIL PROTECTED] N

RFC 255 (v1) Fix iteration of nested hashes

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Fix iteration of nested hashes =head1 VERSION Maintainer: Damian Conway <[EMAIL PROTECTED]> Date: 18 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 255 Version: 1 Status: Developing =head1 A

RFC 187 (v2) Objects : Mandatory and enhanced second argument to C

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Objects : Mandatory and enhanced second argument to C =head1 VERSION Maintainer: Damian Conway <[EMAIL PROTECTED]> Date: 1 Sep 2000 Last Modified: 18 Sep 2000 Mailing List: [EMAIL PROTECTED] Numbe

RFC 224 (v2) Objects : Rationalizing C, C, and C

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Objects : Rationalizing C, C, and C =head1 VERSION Maintainer: Damian Conway <[EMAIL PROTECTED]> Date: 14 Sep 2000 Last Modified: 18 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 224 Version:

RFC 190 (v2) Objects : NEXT pseudoclass for method redispatch

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Objects : NEXT pseudoclass for method redispatch =head1 VERSION Maintainer: Damian Conway <[EMAIL PROTECTED]> Date: 1 Sep 2000 Last Modified: 18 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 19

RFC 189 (v3) Objects : Hierarchical calls to initializers and destructors

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Objects : Hierarchical calls to initializers and destructors =head1 VERSION Maintainer: Damian Conway <[EMAIL PROTECTED]> Date: 1 Sep 2000 Last Modified: 18 Sep 2000 Mailing List: [EMAIL PROTECTED]

RFC 257 (v1) UNIVERSAL::import()

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE UNIVERSAL::import() =head1 VERSION Maintainer: Michael G Schwern <[EMAIL PROTECTED]> Date: 18 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 257 Version: 1 Status: Developing =head1 ABSTRACT

RFC 256 (v1) Objects : Native support for multimethods

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Objects : Native support for multimethods =head1 VERSION Maintainer: Damian Conway <[EMAIL PROTECTED]> Date: 18 September 2000 Mailing List: [EMAIL PROTECTED] Number: 256 Version: 1 Status: Deve

RFC 228 (v2) Add memoize into the standard library

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Add memoize into the standard library =head1 VERSION Maintainer: Adam Turoff <[EMAIL PROTECTED]> Date: 14 Sep 2000 Last Modified: 18 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 228 Version:

RFC 227 (v2) Extend the window to turn on taint mode

2000-09-18 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Extend the window to turn on taint mode =head1 VERSION Maintainer: Adam Turoff <[EMAIL PROTECTED]> Date: 14 Sep 2000 Last Modified: 18 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 227 Versio

Re: RFC 181 (v1) Formats out of core / New format syntax

2000-09-18 Thread H . Merijn Brand
On Thu, 14 Sep 2000 12:41:04 -0700, Glenn Linderman <[EMAIL PROTECTED]> wrote: > 1) do perl6 formats need to have exactly the same scoping rules as perl5 > formats in this regard? perl5 formats do NOT support lexicals, so this is not a very interesting question. (Re-)implementation of formats in

Re: RFC 218 (v1) C is just an assertion

2000-09-18 Thread Damian Conway
> I'm not going to have time to produce an RFC on this in time for the > cutoff point. (Which seems painfully soon tbh). I will be struggling to find the time too. I'll do my best. Damian

Re: RFC 254 (v1) Class Collections: Provide the ability to overload classes

2000-09-18 Thread Nathan Wiger
> [From DBI->connect()] > > # XXX this is inelegant but practical in the short term, sigh. > if ($installed_rootclass{$class}) { > $dbh->{RootClass} = $class; > bless $dbh => $class.'::db'; > my ($outer, $inner) = DBI::_handles($dbh); > bless $inner => $cla

Re: RFC 218 (v1) C is just an assertion

2000-09-18 Thread Piers Cawley
Michael G Schwern <[EMAIL PROTECTED]> writes: > On Thu, Sep 14, 2000 at 02:19:38PM +0100, Piers Cawley wrote: > > Michael G Schwern <[EMAIL PROTECTED]> writes: > > > package Dog; > > > use fields qw(this night up); > > > > > > my Dog $ph = []; > > > $ph->{this} = "that"; > > > >

Re: RFC 218 (v1) C is just an assertion

2000-09-18 Thread Piers Cawley
Damian Conway <[EMAIL PROTECTED]> writes: > Piers wrote: > >> I'm kind of tempted to look at adding another pragma to go with 'use >> base' along the lines of: >> >> use implements 'Interface'; >> >> Which is almost entirely like C but with >> 'Interface' cons

Re: RFC 218 (v1) C is just an assertion

2000-09-18 Thread Piers Cawley
Buddha Buck <[EMAIL PROTECTED]> writes: > At 08:13 AM 9/15/00 +1100, Damian Conway wrote: > >Piers wrote: > > > >> I'm kind of tempted to look at adding another pragma to go with 'use > >> base' along the lines of: > >> > >> use implements 'Interface'; > >> > >> Which

Re: RFC 237 (v1) hashes should interpolate in double-quoted strings

2000-09-18 Thread Bart Lateur
On Sun, 17 Sep 2000 21:59:47 -0700, Nathan Wiger wrote: >Yeah, I for one think %hashes should be interpolated exactly like >@arrays. It's simple and consistent. Simple and consistent would be behaviour like "@{[%hash]}" However, convenient it is not, getting all key/value pairs in one

Re: RFC 16 (v2) Keep default Perl free of constraints such as warnings and strict.

2000-09-18 Thread Piers Cawley
Bart Lateur <[EMAIL PROTECTED]> writes: > On 16 Sep 2000 03:12:06 -, Perl6 RFC Librarian wrote: > > >The only major change to the text of this RFC was to remove a paragraph > >stating that this RFC is particularly targeted to keep C > >off by default. > > Yet, I personally would prefer it i

'Markers'/RFC prototypes

2000-09-18 Thread Piers Cawley
With the deadline for new RFCs fast approaching I've got a couple or three RFCs that I won't have time to get properly written in the time available, and I'm sure I'm not alone. Therefore, I propose that we be allowed to submit RFC prototypes of the form: =head1 TITLE RFC prototypes

Re: Request for Clarification: RFC Statuses

2000-09-18 Thread Jeremy Howard
Michael G Schwern wrote: > On Mon, Sep 18, 2000 at 01:35:42AM -0400, Adam Turoff wrote: > > Background: RFCs should be in development until frozen or retired. > > > > Problem: Frozen RFCs are being updated. > > Solution #4: Slip the RFC status back to 'developing'. > > If someone updates a frozen

Re: RFC 181 (v1) Formats out of core / New format syntax

2000-09-18 Thread Bart Lateur
On Mon, 18 Sep 2000 10:57:49 +0200, H.Merijn Brand wrote: >perl5 formats do NOT support lexicals Eh? It looks like it, though. my $foo; format STDOUT = @>>> $foo . $foo = 123; write; $foo = 45; write; It looks *so muc

Re: RFC 100 (v2) Embed full URI support into Perl

2000-09-18 Thread Hildo Biersma
> > =head1 NOTES ON FREEZE > > > > The only comments received were on my crappy examples, which have been > > clarified. Everyone seemed to like the idea. > > Personally I hated it. And I distinctly remember saying so. And I > still hate it. I dislike it too. URIs are a user-space matter and sh

Re: RFC 100 (v2) Embed full URI support into Perl

2000-09-18 Thread Piers Cawley
Hildo Biersma <[EMAIL PROTECTED]> writes: > > > =head1 NOTES ON FREEZE > > > > > > The only comments received were on my crappy examples, which have been > > > clarified. Everyone seemed to like the idea. > > > > Personally I hated it. And I distinctly remember saying so. And I > > still hate it

Re: RFC 237 (v1) hashes should interpolate in double-quoted strings

2000-09-18 Thread Nathan Torkington
Chaim Frenkel writes: > What about formating the output as a value that can be used by eval? > > %hash = (a => 1, b => 'the world'); > print "%{hash}\n"; > > ('a' => 1, 'b'=> 'the world') Interesting. > And as for having to escape % in printf strings. Why not enable the > interpola

Re: RFC 231 (v1) Data: Multi-dimensional arrays/hashes and slices

2000-09-18 Thread Karl Glazebrook
Hi Ilya, I have three questions about your RFC: Firstly does your proposal allow for a slice like 10..20:2 (i.e. with a stride of 2) ? If not is there an easy way to incorporate that? Secondly, what about having multidim support in the core so that the tie-tokenisers get optimised away? i.e.

Re: RFC - Interpolation of method calls

2000-09-18 Thread Tom Christiansen
>> Oh joy: now Perl has nested quotes. I *hate* nested quotes. >Those are single-quotes inside double-quotes. Yep: nested, with varying semantic effects. Completely nasty. -tom

Re: RFC - Interpolation of method calls

2000-09-18 Thread Tom Christiansen
>It hurts me to do this when there's even a little bit of data, since it >ends up spanning lines really quickly. And it's harder to read and >figure out how everything lines up. Honestly, which is easier to read >and code? >print "Thanks, ", $q->param('name'), " for your order of ", >$q->param('a

Re: RFC - Interpolation of method calls

2000-09-18 Thread Tom Christiansen
>So what about > print "Thanks, $user->{'first name'} for your order!"; >Which needs nested quotes already? printf() is more readable in such cases. --tom

Re: RFC 224 (v1) Objects : Rationalizing C, C, and C

2000-09-18 Thread Tom Christiansen
>This RFC proposes that rather than three separate mechanisms (in three >separate namespaces) to determine object typing information, Perl 6 >simply extend the C function to return all the necessary >information in a list context. That sounds nice. It would also cure the funny business I tacitly

Re: RFC 228 (v1) Add memoize into the standard library

2000-09-18 Thread Piers Cawley
Leon Brocard <[EMAIL PROTECTED]> writes: > Dave Storrs sent the following bits through the ether: > > > Personally, I like the way it works at the moment; all the subs > > that you want to memoize are up at the top, where they are easy to see. > > You can add, subtract, and change the list in a

Re: RFC 181 (v1) Formats out of core / New format syntax

2000-09-18 Thread H . Merijn Brand
On Mon, 18 Sep 2000 13:49:25 +0200, Bart Lateur <[EMAIL PROTECTED]> wrote: > On Mon, 18 Sep 2000 10:57:49 +0200, H.Merijn Brand wrote: > > >perl5 formats do NOT support lexicals > > Eh? It looks like it, though. > > my $foo; > format STDOUT = > @>>> > $foo > .

Re: RFC 181 (v1) Formats out of core / New format syntax

2000-09-18 Thread Tom Christiansen
>> >perl5 formats do NOT support lexicals >> >> Eh? It looks like it, though. >> >> my $foo; >> format STDOUT = >> @>>> >> $foo >> . >> >> $foo = 123; >> write; >> $foo = 45; >> write; >> >> It looks *so much* that way, that I think you must be

Re: RFC 181 (v1) Formats out of core / New format syntax

2000-09-18 Thread H . Merijn Brand
On Mon, 18 Sep 2000 08:43:05 -0600, Tom Christiansen <[EMAIL PROTECTED]> wrote: > I do not think you two are arguing about the same thing. > > Certainly as Bart has shown, formats *can* see lexicals. Your > illustration does not disprove that. It simply shows that lexical > scoping is static sc

Re: RFC 238 (v1) length(@ary) deserves a warning

2000-09-18 Thread Philip Newton
On 16 Sep 2000, Perl6 RFC Librarian wrote: > Supercedes: RFC 212 "Supersedes" is usually spelled with an S in the middle. (Compare also http://www.ietf.org/internet-drafts/draft-ietf-usefor-article-03.txt [grandson-of-RFC1036], section 6.13, for the spelling; it, too, uses S.) Cheers, Philip

Re: matters supersessionary (was: RFC 238 (v1) length(@ary) deserves a warning)

2000-09-18 Thread Tom Christiansen
>On 16 Sep 2000, Perl6 RFC Librarian wrote: >> Supercedes: RFC 212 >"Supersedes" is usually spelled with an S in the middle. (Compare also >http://www.ietf.org/internet-drafts/draft-ietf-usefor-article-03.txt >[grandson-of-RFC1036], section 6.13, for the spelling; it, too, uses S.) Must be, i

Re: RFC 99 (v3) Standardize ALL Perl platforms on UNIX epoch

2000-09-18 Thread Chaim Frenkel
> "CN" == Chris Nandor <[EMAIL PROTECTED]> writes: CN> Why? File::Spec is in the core. So are multitudinous CN> ExtUtils::MM_* modules. >> >> Covers the platforms that have perl ports. Your problem requires solutions >> for platforms that don't have a perl port. (yet :-) CN> No, you misun

Re: RFC 99 (v3) Standardize ALL Perl platforms on UNIX epoch

2000-09-18 Thread Nathan Wiger
Chris Nandor wrote: > > >just assume "All Perl core functions should return objects", and hence > >the reason I wrote RFC 73. ;-) > > And it would make me stop using Perl faster than your object method could > be resolved. Is your concern one of? 1. Speed 2. Bloat 3. Excess burden o

Re: RFC 100 (v2) Embed full URI support into Perl

2000-09-18 Thread Nathan Wiger
Hildo Biersma wrote: > > > Personally I hated it. And I distinctly remember saying so. And I > > still hate it. > > I dislike it too. URIs are a user-space matter and should not be > built-in to the language - put it in a module. And if you have an OS > that implements URIs directly, well then

Re: RFC 100 (v2) Embed full URI support into Perl

2000-09-18 Thread Nicholas Clark
On Mon, Sep 18, 2000 at 08:26:26AM -0700, Nathan Wiger wrote: > Hildo Biersma wrote: > > > > > Personally I hated it. And I distinctly remember saying so. And I > > > still hate it. > > > > I dislike it too. URIs are a user-space matter and should not be > > built-in to the language - put it in

Re: RFC 30 (v4) STDIN, STDOUT, STDERR, ARGV, and DATA should become scalars

2000-09-18 Thread Eryq
Tom Christiansen wrote: > > > * Have to use ugly globref syntax to pass them around reliably. > > No, you don't. You can use globs. But only if you don't have > prototypes, like sub opt(*). I would argue that many Perlers don't use prototypes. Whether they should or not is another issu

Re: RFC - Interpolation of method calls

2000-09-18 Thread Tom Christiansen
>As Nate pointed out: print "$hash->{'f'.'oo'}" already works fine and >the world spins on. That is no argument for promoting illegibility. --tom

Re: RFC - Interpolation of method calls

2000-09-18 Thread Michael G Schwern
On Mon, Sep 18, 2000 at 07:30:37AM -0600, Tom Christiansen wrote: > >So what about > > > print "Thanks, $user->{'first name'} for your order!"; > > >Which needs nested quotes already? > > printf() is more readable in such cases. Okay, we get the idea! Only very simple things should interpol

Re: RFC - Interpolation of method calls

2000-09-18 Thread Tom Christiansen
>Okay, we get the idea! Only very simple things should interpolate. >Do you have any other objections to the RFCs? Yes: to the mail volume. And I'm about to fix that.

Re: RFC - Interpolation of method calls

2000-09-18 Thread Michael G Schwern
On Mon, Sep 18, 2000 at 01:01:55PM -0400, John Siracusa wrote: > Don't forget the fact that direct access is much faster than a method > call in Perl 5. This will be fixed in Perl 6, of course...right? :) RFC 163 -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED]

Re: RFC - Interpolation of method calls

2000-09-18 Thread Nathan Wiger
Tom Christiansen wrote: > > >So what about > > > print "Thanks, $user->{'first name'} for your order!"; > > >Which needs nested quotes already? > > printf() is more readable in such cases. I guess we just have a difference opinion on what consitutes making things easy. -Nate

Re: RFC 218 (v1) C is just an assertion

2000-09-18 Thread Michael G Schwern
On Mon, Sep 18, 2000 at 09:48:27AM +0100, Piers Cawley wrote: > Michael G Schwern <[EMAIL PROTECTED]> writes: > > Nope. fields::new() basically just does C > [\%{"$class\::FIELDS"}], $class>, but the current pseudohash > > implementation doesn't care if something is an object or not. It just > >

Re: RFC - Interpolation of method calls

2000-09-18 Thread John Siracusa
On 9/18/00 3:44 AM, Damian Conway wrote: >>> my $weather = new Schwern::Example; >>> print "Today's weather will be $weather->{temp} degrees and sunny."; >>> print "And tomorrow we'll be expecting ", $weather->forecast; >> >> You are wicked and wrong to have broken inside and peeked at the

Re: RFC - Interpolation of method calls

2000-09-18 Thread Michael G Schwern
On Mon, Sep 18, 2000 at 07:23:41AM -0600, Tom Christiansen wrote: > >> Oh joy: now Perl has nested quotes. I *hate* nested quotes. > >Those are single-quotes inside double-quotes. > > Yep: nested, with varying semantic effects. Completely nasty. As Nate pointed out: print "$hash->{'f'.'oo'}"

Re: RFC 237 (v1) hashes should interpolate in double-quoted strings

2000-09-18 Thread Bart Lateur
On 17 Sep 2000 23:54:05 -0400, Chaim Frenkel wrote: >What about formating the output as a value that can be used by eval? > > %hash = (a => 1, b => 'the world'); > print "%{hash}\n"; > >('a' => 1, 'b'=> 'the world') So, what about arrays? Or scalars? We have Data::Dumper for that.

Re: RFC 246 (v1) - RFC 250 pack/unpack enhancements

2000-09-18 Thread Glenn Linderman
Perl6 RFC Librarian wrote: > RFC 246: pack/unpack uncontrovercial enhancements > RFC 247: pack/unpack C-like enhancements > > RFC 248: enhanced groups in pack/unpack > > RFC 249: Use pack/unpack for marshalling > > RFC 250: hooks in pack/unpack > > The following enhancement covers almost all the

Re: RFC 246 (v1) pack/unpack uncontrovercial enhancements

2000-09-18 Thread Chaim Frenkel
How about a Base64 to match with uuencode? > "PRL" == Perl6 RFC Librarian <[EMAIL PROTECTED]> writes: PRL> =head1 ABSTRACT PRL> This RFC proposes simple enhancements to templates of pack/unpack builtins. PRL> These enhancements do not change the spirit of how pack/unpack is used. PRL> The

Re: Request for Clarification: RFC Statuses

2000-09-18 Thread Nathan Torkington
Adam Turoff writes: > >From here on out, Frozen RFCs shall remain Frozen. Should the maintainer > wish to clarify them after they have been frozen, the version number > will increment by some fractional value (.01?), and a > "Clarified: DD MMM " header will be added to the metadata. > > Obj

Re: Request for Clarification: RFC Statuses

2000-09-18 Thread Adam Turoff
On Mon, Sep 18, 2000 at 12:18:19PM -0600, Nathan Torkington wrote: > I'm against fractional version numbers on the grounds that it's > another piece of knowledge that must be held before someone can > understand the system (think of 5.004_54 and how hideous that system > was). Integers imply all

Re: Request for Clarification: RFC Statuses

2000-09-18 Thread Nathan Torkington
Adam Turoff writes: > I want to assert to the reader that there have been no substantive > changes since v3 if an RFC was frozen at v3, but is currently v5. > > A "Frozen Since: v3" attribute should make this apparent. Sure. And rather than rediddling all the other RFCs, only introduce this whe

No, not A, but A

2000-09-18 Thread David L. Nicol
Ken Fox wrote: > > "David L. Nicol" wrote: > > Hey, none of those are better than "It would be nice" > > > > They're all reasons why it would be nice > > I'm a little hazy on what you think is a "better" reason if all > of mine were variants of "it would be nice." > ... > i.e. It would be nice.

Re: 'Markers'/RFC prototypes

2000-09-18 Thread Adam Turoff
On Mon, Sep 18, 2000 at 10:18:41AM -0600, Nathan Torkington wrote: > Piers Cawley writes: > > The idea here is to allow people to get ideas on the lists in a rough > > form where they can get some initial comments (which may blow the > > 'real' RFC out of the water...). There should be some very s

Re: Request for Clarification: RFC Statuses

2000-09-18 Thread Adam Turoff
On Mon, Sep 18, 2000 at 02:18:50AM -0400, Michael G Schwern wrote: > On Mon, Sep 18, 2000 at 01:35:42AM -0400, Adam Turoff wrote: > > Background: RFCs should be in development until frozen or retired. > > > > Problem: Frozen RFCs are being updated. > > Solution #4: Slip the RFC status back to '

Re: Request for Clarification: RFC Statuses

2000-09-18 Thread Adam Turoff
On Mon, Sep 18, 2000 at 10:12:33PM +1100, Jeremy Howard wrote: > Some background would help--how is Larry being fed these RFCs? By pointing his browser to http://dev.perl.org/rfc/. Just like the rest of us. I seriously doubt he's using Grail or tkWeb as his browser though. :-) Z.

Re: Request for Clarification: RFC Statuses

2000-09-18 Thread Adam Turoff
On Mon, Sep 18, 2000 at 02:04:51AM -0400, Bennett Todd wrote: > 2000-09-18-01:35:42 Adam Turoff: > > Background: RFCs should be in development until frozen or retired. > > An interesting puzzle. As the author of RFC 70, I've felt like I > should make some updates, but they've been utterly trivial

Re: RFC 30 (v4) STDIN, STDOUT, STDERR, ARGV, and DATA should become scalars

2000-09-18 Thread Tom Christiansen
I will never, ever, ever possibly begin to process all this mail. It's completely impossible. I have three days before I leave the country for three weeks, and nothing is done. Therefore, my answer to you will be short and underdone. One can type on p6 lists *all* day and get no nearer to closu

Re: RFC 212 (v1) Make length(@array) work

2000-09-18 Thread Bart Lateur
On 13 Sep 2000 07:07:42 -, Perl6 RFC Librarian wrote: >Make length(@array) work One more thought: >Many newbies think of the number of >elements in an array as its "length" Doesn't this reflect C's idea of "a string is an array of characters"? Which isn't the idea behind strings in Perl.

Re: RFC 163 (v2) Objects: Autoaccessors for object data structures

2000-09-18 Thread Michael G Schwern
On Mon, Sep 18, 2000 at 01:02:31PM -0700, Glenn Linderman wrote: > OK, thanks for the info. I'm not an internals guy, but I guess I > should have written the benchmark. It just _seemed_ they should be > slower, because there is more work to do the hashing. The actual > lookup, I agree, should b

Re: RFC 163 (v2) Objects: Autoaccessors for object data structures

2000-09-18 Thread Glenn Linderman
Michael G Schwern wrote: > Similar mistaken logic leads to "globals are faster than lexicals". Maybe so, but I'd think lexicals would be faster, because more of the lookup is done at compile time rather than runtime... so I'm not sure what is similar about the mistaken logic... for arrays, more

Re: RFC 30 (v4) STDIN, STDOUT, STDERR, ARGV, and DATA should become scalars

2000-09-18 Thread Nathan Wiger
Let's table this discussion, please. There are two different concerns here: 1. IO::Handle et al *are* too damn big and slow. 2. Bareword filehandles *are* a pain to deal with. Perl 5.6 already has a lot of this solved by allowing lexically-scoped variables to hold filehandles. We should

Re: RFC 99 (v3) Standardize ALL Perl platforms on UNIX epoch

2000-09-18 Thread Chris Nandor
At 9:08 -0700 2000.09.18, Nathan Wiger wrote: >Chris Nandor wrote: >> >> >just assume "All Perl core functions should return objects", and hence >> >the reason I wrote RFC 73. ;-) >> >> And it would make me stop using Perl faster than your object method could >> be resolved. > >Is your concern one

Re: RFC 231 (v1) Data: Multi-dimensional arrays/hashes and slices

2000-09-18 Thread Christian Soeller
> Finally as an overload expert what do you think about the proposals > to make arrays overloadable objects so one can say things like: > > @x = 3 * @y; Is this where RFC 231's suggestion for OO slicing comes in (see quote)? > For example, > >$matrix1->[2..5; 2..4] * $matrix2->[1,3,

Re: RFC 100 (v2) Embed full URI support into Perl

2000-09-18 Thread Chaim Frenkel
> "NC" == Nicholas Clark <[EMAIL PROTECTED]> writes: NC> $htdoc = open uri "http://www.yahoo.com" or die; NC> with uri in the standard library NC> and also make it easy to stack the module that does uri at the top of 'file' NC> so that the default is to call the uri stuff. Is it just me, but

Re: RFC 30 (v4) STDIN, STDOUT, STDERR, ARGV, and DATA should become scalars

2000-09-18 Thread David L. Nicol
Eryq wrote: > And all that I am saying is that this syntactic complication, > this special case where "the filehandle name *is* the object", > should be gotten rid of. Unlike some other special Perl syntactic > constructs (e.g., regular expressions, "here-is" documents), > the current filehandl

Final draft of RFC 120: Implicit counter in for statements

2000-09-18 Thread John McNamara
The following is intended as a draft of the final draft of RFC 120 "Implicit counter in for statements, possibly $#". It includes summarised alternatives based on discussions in this list. It is not intended that this post should revive these discussions. It is a chance for the contributing pa

Re: Final draft of RFC 120: Implicit counter in for statements

2000-09-18 Thread Bart Lateur
On Mon, 18 Sep 2000 23:11:28 +0100, John McNamara wrote: > foreach $item (@array) { > print $item, " is at index ", $#, "\n"; > } Maybe I'm a little late... But I just thought how neat it would be if this would also extend to map() and grep(). Remember, officially the processing

Re: RFC 23 (v5) Higher order functions

2000-09-18 Thread Nathan Wiger
> =head2 Choice of notation > > The placeholder notation has been chosen to be consistent with the > eisting Perl scalar notation (but using a ^ prefix rather than a $): > > RoleScalar Placeholder > var analog > > named

Re: RFC 23 (v5) Higher order functions

2000-09-18 Thread Damian Conway
> > =head2 Choice of notation > > > > The placeholder notation has been chosen to be consistent with the > > eisting Perl scalar notation (but using a ^ prefix rather than a $): > > > > RoleScalar Placeholder > > var

Re: RFC 23 (v5) Higher order functions

2000-09-18 Thread Mike Pastore
Nathan Wiger wrote: > > Either we need to change $1 to $0, or change ^0 to ^1. Considering $0 > has been around a little while longer than HOFN, I strongly suggest we > change ^0 to ^1 to be consistent. > > I realize this RFC has been frozen, but this is an important issue. And > remember, Mike

Re: RFC 148 (v2) Add reshape() for multi-dimensional array reshaping

2000-09-18 Thread Jeremy Howard
> Let's jump in. This RFC proposes a C builtin with the following > syntax: > Err... this syntax isn't what I expected at all! I thought the first argument would define the shape of the result, like NumPy or PDL... > When one array is passed in, it is split up. Here, the C<$x> and C<$y> > determi

Re: RFC 148 (v2) Add reshape() for multi-dimensional array reshaping

2000-09-18 Thread Nathan Wiger
> Sorry Nate--I know we thought we were on the same wavelength here, but it > looks like we weren't at all! Would you like me to redraft this for you, or > create a new RFC? It's all yours. My brain is toast, and I'm totally RFC'ed out. The only thing I care about is that the lists wind up on the

Re: RFC 23 (v5) Higher order functions

2000-09-18 Thread Nathan Wiger
Damian Conway wrote: > > That's it! I'm gonna take that whole section out and burn it! ;-) > $1 is the *only* place in Perl where an index starts at 1. *It's* the one > that's inconsistent. Fix *it*. I'd love to. But we're stuck, unless we make a $CMD which holds what $0 currently holds, whic

Re: RFC 163 (v2) Objects: Autoaccessors for object data structures

2000-09-18 Thread Michael G Schwern
On Sun, Sep 17, 2000 at 11:25:49PM -0700, Nathan Wiger wrote: > > I also don't see that the optimization of one half of the accessor vs > > the other is worth the trouble. > > Well, it depends on how much faster the autoaccessor is. If it is much > faster, and you need to access a whole bunch of

Re: RFC 251 (v1) Interpolation of class method calls

2000-09-18 Thread Michael G Schwern
On Mon, Sep 18, 2000 at 05:39:48PM +1100, Damian Conway wrote: > I suggest that the requirement be: > > print "There are Dogs::->num_dogs() species of dogs."; > > I.e. use the unambiguous form of class method call. Uhhh... I never even knew that worked. With the exception of OO book a

Re: RFC - Interpolation of method calls

2000-09-18 Thread Tom Christiansen
>I doubt anyone's arguing that they're not function calls. What I find >"surprising" is that Perl doesn't DWIM here. It doesn't encourage data >encapsulation or try to make it easy: > my $weather = new Schwern::Example; > print "Today's weather will be $weather->{temp} degrees and sunny."; >

Re: RFC 251 (v1) Interpolation of class method calls

2000-09-18 Thread Damian Conway
> > I suggest that the requirement be: > > > > print "There are Dogs::->num_dogs() species of dogs."; > > > > I.e. use the unambiguous form of class method call. > > Uhhh... I never even knew that worked. With the exception of OO book > authors, everyone's goin

Re: RFC 254 (v1) Class Collections: Provide the ability to overload classes

2000-09-18 Thread Michael G Schwern
On Mon, Sep 18, 2000 at 05:49:28AM -, Perl6 RFC Librarian wrote: > Here's where the problem lies. Even though we now have a subclass > of Frog, the Forest class is still referencing the original Frog > class and not Frog::Japanese. The DBI has this very problem! DBI->connect() returns DBI::

Re: RFC - Interpolation of method calls

2000-09-18 Thread Damian Conway
> > my $weather = new Schwern::Example; > > print "Today's weather will be $weather->{temp} degrees and sunny."; > > print "And tomorrow we'll be expecting ", $weather->forecast; > > You are wicked and wrong to have broken inside and peeked at the > implementation and then

Re: RFC - Interpolation of method calls

2000-09-18 Thread Michael G Schwern
On Mon, Sep 18, 2000 at 01:12:10AM -0600, Tom Christiansen wrote: > You are wicked and wrong to have broken inside and peeked at the > implementation and then relied upon it. That's a new one for perldiag. Would that be (S) or (X)? > > print "Thanks, $cgi->param('name') for your order!"; > >

  1   2   >