[OT] How to pronounce 'www' (was Re: ... as a term)

2000-08-23 Thread Daniel Chetlin
On Wed, Aug 23, 2000 at 11:43:04PM -0400, Uri Guttman wrote: >>> On Mon, 21 Aug 2000 18:21:00 -0700 (PDT), Larry Wall wrote: If you want to save the world, come up with a better way to say "www". (And make it stick...) [snip of other possibilities] > the variation i learned somewhere was

Re: Exception handling [Was: Re: Things to remove]

2000-08-23 Thread Glenn Linderman
Tony Olekshy wrote: > Glenn Linderman wrote: > > > > Just to point out that fatal is, indeed, as several people keep > > saying, truly in the eye of the catcher. > > > > That said, none of the currently proposed mechanisms permit > > "resume from fault" semantics, much less "resume from hardware

Re: Exception handling [Was: Re: Things to remove]

2000-08-23 Thread Tony Olekshy
Glenn Linderman wrote: > > Just to point out that fatal is, indeed, as several people keep > saying, truly in the eye of the catcher. > > That said, none of the currently proposed mechanisms permit > "resume from fault" semantics, much less "resume from hardware > fault" semantics. Sounds like go

Re: Exception handling [Was: Re: Things to remove]

2000-08-23 Thread Glenn Linderman
Dan Sugalski wrote: > At 02:48 AM 8/24/00 +0200, Markus Peter wrote: > > >--On 23.08.2000 17:26 Uhr -0700 Glenn Linderman wrote: > > > >>Thanks for reminding me of this, Bart, if RFC 88 co-opts die for non-fatal > >>errors, people that want to write fatal errors can switch to using "warn > >>...;

Re: Exception handling [Was: Re: Things to remove]

2000-08-23 Thread Tony Olekshy
Dan Sugalski wrote: > > Markus Peter wrote: > > > There is no such thing as an ultimately fatal error - it should > > always be up to the user of a module wether the program should > > die, but I guess you see that the same and will answer me with > > "use eval" then ;-) > > I hope you're speakin

Re: Exception handling [Was: Re: Things to remove]

2000-08-23 Thread Dan Sugalski
At 02:48 AM 8/24/00 +0200, Markus Peter wrote: >--On 23.08.2000 17:26 Uhr -0700 Glenn Linderman wrote: > >>Thanks for reminding me of this, Bart, if RFC 88 co-opts die for non-fatal >>errors, people that want to write fatal errors can switch to using "warn >>...; exit ( 250 );" instead of "die .

perl6-language@perl.org

2000-08-23 Thread Jonathan Scott Duff
On Wed, Aug 23, 2000 at 11:59:15PM -0400, Buddha Buck wrote: > How about a @CALLER array, with each element being a reference to the > invoking function in the call-back stack. $CALLER[0] would be > equivilant to \&ME, $CALLER[1] would be the sub that called &ME, etc, > and then $CALLER[-1] wo

perl6-language@perl.org

2000-08-23 Thread Buddha Buck
> Buddha Buck wrote: > > > Perhaps someone should RFC the new special variable &ME, which is > > predefined to be the whole program. Who knows? Perhaps it would then make > > sense to use @_ at the top level, as if the program was invoked as > > "&ME(@ARGV);"... > > on -objects it has been pro

Re: ... as a term

2000-08-23 Thread Uri Guttman
> "BCW" == Bryan C Warnock <[EMAIL PROTECTED]> writes: BCW> On Wed, 23 Aug 2000, Bart Lateur wrote: >> On Mon, 21 Aug 2000 18:21:00 -0700 (PDT), Larry Wall wrote: >> >> >If you want to save the world, come up with a better way to say "www". >> >(And make it stick...) >> >> "Th

Re: RFC 140 (v1) One Should Not Get Away With Ignoring System Call Errors

2000-08-23 Thread Nathan Wiger
Nathan Torkington wrote: > > use strict 'types'; > > To turn Perl into full B&D mode. I think you mean S&M mode. > Be afraid. Be very afraid. I think I'm gonna hurl! As long as it's a *pragma*, feel free to torture yourself in whatever sick ways you desire. ;-) -Nate

Re: RFC 140 (v1) One Should Not Get Away With Ignoring System Call Errors

2000-08-23 Thread Nathan Torkington
On the subject of 'strict', I'm looking forward (once the typing proposals string out) to having use strict 'types'; To turn Perl into full B&D mode. This will also enable maximum optimizations. I'm picturing type-checking at this level: my hash %a; my StructuredHash %b; %b = %a;

Re: ... as a term

2000-08-23 Thread Bryan C . Warnock
On Wed, 23 Aug 2000, Bart Lateur wrote: > On Mon, 21 Aug 2000 18:21:00 -0700 (PDT), Larry Wall wrote: > > >If you want to save the world, come up with a better way to say "www". > >(And make it stick...) > > "The world"? This problem only exists in English! > > We pronounce it something similar

CORE symboltable should behave like any other?

2000-08-23 Thread Markus Peter
Hello Before I write an RFC about that topic, is there anybody else who thinks the CORE:: package should be consistent in it's behaviour (especially for symbol table manipulations and access) with all other packages? For comparison: print Dumper(\%{*{"main::"}}); $VAR1 = { '@' => *{'

Re: RFC 140 (v1) One Should Not Get Away With Ignoring System Call Errors

2000-08-23 Thread Nathan Wiger
> If something fails, you should care. Maybe. > The 'strict' pragma (or whatever form it takes in perl6) should > include in its 'default set of strictness' a new subpragma, 'system'. > This subpragma has the following semantics: Ok, I can live with a pragma. :-) However, I do think that "syst

Re: Exception handling [Was: Re: Things to remove]

2000-08-23 Thread Markus Peter
--On 23.08.2000 17:26 Uhr -0700 Glenn Linderman wrote: > Thanks for reminding me of this, Bart, if RFC 88 co-opts die for non-fatal > errors, people that want to write fatal errors can switch to using "warn > ...; exit ( 250 );" instead of "die ...;" like they do today. [Tongue > firmly plante

Exception handling [Was: Re: Things to remove]

2000-08-23 Thread Glenn Linderman
Thanks for reminding me of this, Bart, if RFC 88 co-opts die for non-fatal errors, people that want to write fatal errors can switch to using "warn ...; exit ( 250 );" instead of "die ...;" like they do today. [Tongue firmly planted on cheek.] Bart Lateur wrote: > On Wed, 23 Aug 2000 17:24:23 -

Re: Things to remove

2000-08-23 Thread Bart Lateur
On Wed, 23 Aug 2000 17:24:23 -0600 (MDT), Nathan Torkington wrote: >Compile the main() program code into a subroutine called 0, and you're >off! > > &0 anyone? :-) > >(that's digit 0, by analogy to $0) What would be nice about this, is that then you could use "return" in a script to stop execu

Re: Ideas that need RFCs?

2000-08-23 Thread Nathan Torkington
Randal L. Schwartz writes: > Joe> thing in Perl, we'd need to be able to match a substring, and > Joe> then call an arbitrary function in the middle of a pattern match, > Joe> and to back out the call if the match failed. > > Already done in 5.6. :) "perldoc perlre". Anyone who has actually tri

Re: Ideas that need RFCs?

2000-08-23 Thread Larry Wall
Randal L. Schwartz writes: : > "Joe" == Joe McMahon <[EMAIL PROTECTED]> writes: : : Joe> This is done by using SNOBOL's dynamic function evaluation and : Joe> conditional assignment during a pattern match. To do this kind of : Joe> thing in Perl, we'd need to be able to match a substring, and

Re: ... as a term

2000-08-23 Thread Bart Lateur
On Mon, 21 Aug 2000 18:21:00 -0700 (PDT), Larry Wall wrote: >If you want to save the world, come up with a better way to say "www". >(And make it stick...) "The world"? This problem only exists in English! We pronounce it something similar to "way way way". -- Bart.

Re: Ideas that need RFCs?

2000-08-23 Thread Randal L. Schwartz
> "Joe" == Joe McMahon <[EMAIL PROTECTED]> writes: Joe> This is done by using SNOBOL's dynamic function evaluation and Joe> conditional assignment during a pattern match. To do this kind of Joe> thing in Perl, we'd need to be able to match a substring, and Joe> then call an arbitrary function

Re: Things to remove

2000-08-23 Thread Nathan Torkington
Larry Wall writes: > Now all we have to do is make the program a variable, and the two > requirements become one. Compile the main() program code into a subroutine called 0, and you're off! &0 anyone? :-) (that's digit 0, by analogy to $0) Nat

perl6-language@perl.org

2000-08-23 Thread David L. Nicol
Buddha Buck wrote: > Perhaps someone should RFC the new special variable &ME, which is > predefined to be the whole program. Who knows? Perhaps it would then make > sense to use @_ at the top level, as if the program was invoked as > "&ME(@ARGV);"... on -objects it has been proposed that &ME i

Re: Ideas that need RFCs?

2000-08-23 Thread Joe McMahon
> I was wondering this morning whether we ought to write the Perl 6 > parser as a set of recursive regexes. Might make it easier to plug in > new productions on the fly. And designing the parser around regexes > might indicate ways in which Perl's regexes are not yet powerful > enough. > There'

Re: Things to remove

2000-08-23 Thread Damian Conway
> Doesn't a lot of OO work (esp. on the Mac) tend to do this? > > The first thing they do in their application is instantiate an > application (mainly, itself, without the application instantiation) and > run it. That's right. All "pure" object-oriented languages work this way: th

Re: transaction-enabled variables

2000-08-23 Thread Nathan Wiger
dLux wrote: > > > Thanks guys, you convinced me this is not a dead thing. > > I got some suggestion (2 phase commit support, DBI integration, > other data source integration) from Glenn Linderman. I will improve > this RFC with those things. I might have mentioned this before, but I t

Re: Things to remove

2000-08-23 Thread Bryan C . Warnock
On Wed, 23 Aug 2000, Buddha Buck wrote: > Perhaps someone should RFC the new special variable &ME, which is > predefined to be the whole program. Who knows? Perhaps it would then make > sense to use @_ at the top level, as if the program was invoked as > "&ME(@ARGV);"... Doesn't a lot of OO

Re: transaction-enabled variables

2000-08-23 Thread dLux
/--- On Wed, Aug 23, 2000 at 03:49:02PM -0400, David Corbin wrote: | I think it would be a good thing, and would be another things can | distinguish Perl from the other languages like pattern matching | once | did. It strikes me as one of those things that are going to end up | adding a whol

Re: RFC 134 (v1) Alternative array and hash slicing

2000-08-23 Thread Michael Maraist
Personally, I prefer a python, or matlab implementation: array1 = array2[ start : stop ]. Of course, In perl we have the .. operator. This method has just always seemed intuitive to me. Granted an explicit function call (or gasp, another reg-ex like call), aids the newbies eyes. The trick in

Re: RFC 133 (v1) Alternate Syntax for variable names

2000-08-23 Thread Michael Maraist
> my var; # declaring a scalar > my array[]; # declaring an array > my hash{}; # declaring a hash Though the declarations seem fine, I assume that you propose this to be optional at usage time, since variable interpolations such as "xxx${var1}xxx${var2}xxx" really need the prefix. One of

Re: RFC 127 (v1) Sane resolution to large function returns

2000-08-23 Thread Larry Wall
Dan Sugalski writes: : And do we want to consider making this (and its ilk) Do The Right Thing? : :(@foo, @bar) = (@bar, @foo); We certainly want to consider it, though perhaps not in -internals. You can talk about passing @bar and @foo around as lazy lists, and maybe even do lazy list-flatt

Re: Ideas that need RFCs?

2000-08-23 Thread Damian Conway
> I was wondering this morning whether we ought to write the Perl 6 > parser as a set of recursive regexes. That would also solve one of my nagging headaches: RFC XXX: Parse::RecDescent 2.0 *is* Perl 6.0 Of course, then we'd have to have Perl 6 out "by Christmas"! ;-) Damian P

Re: Things to remove

2000-08-23 Thread Dan Sugalski
At 03:47 PM 8/23/00 -0400, David Corbin wrote: >Tom Christiansen wrote: > > > > >2) The ability to dump out a variable and all its attached state into > > >something that can be loaded in later somewhere else. > > > > To hope to do this completely and correctly is courageous. > > > > my @funx

Re: Things to remove

2000-08-23 Thread Dan Sugalski
At 11:32 AM 8/23/00 -0700, Larry Wall wrote: >Tom Christiansen writes: >: >2) The ability to dump out a variable and all its attached state into >: >something that can be loaded in later somewhere else. >: >: To hope to do this completely and correctly is courageous. >: >: my @funx = (); >:

Re: Ideas that need RFCs?

2000-08-23 Thread Dan Sugalski
At 11:18 AM 8/23/00 -0700, Larry Wall wrote: >Dan Sugalski writes: >: At 10:35 AM 8/19/00 +1000, Damian Conway wrote: >: >However, for Perl 6 I'd really like to see run-time access to the >: >Real Tokenizer (tm): >: > >: > use tokenizer; >: > >: > my $tree = tokenizer( $sourcecode

Re: RFC 139 (v1) Allow Calling Any Function With A Syntax Like s///

2000-08-23 Thread John Porter
Markus Peter wrote: > --On 23.08.2000 4:31 Uhr + Perl6 RFC Librarian wrote: > > > The calling syntaces of m()/s() should be consistent with other forms of > > function call; this should be achieved not by eliminating the traditional > > C form from m()/s(), but by allowing any function to be

Re: transaction-enabled variables

2000-08-23 Thread David Corbin
dLux wrote: > > Hello! > > I've posted an RFC about transaction-enabled variables (RFC130: > http://dev.perl.org/rfc/130.pod), but I didn't get too much response > about that. Does anyone have comment about that? I want to clarify > the language part of that (new keyword, new pra

Re: Things to remove

2000-08-23 Thread David Corbin
Tom Christiansen wrote: > > >2) The ability to dump out a variable and all its attached state into > >something that can be loaded in later somewhere else. > > To hope to do this completely and correctly is courageous. > > my @funx = (); > for my $name (qw/violet purple cream/) { >

Re: Ideas that need RFCs?

2000-08-23 Thread David Corbin
Larry Wall wrote: > > Dan Sugalski writes: > : At 10:35 AM 8/19/00 +1000, Damian Conway wrote: > : >However, for Perl 6 I'd really like to see run-time access to the > : >Real Tokenizer (tm): > : > > : > use tokenizer; > : > > : > my $tree = tokenizer( $sourcecode ); > : > > : >Th

Re: transaction-enabled variables

2000-08-23 Thread John Porter
dLux wrote: > > I've posted an RFC about transaction-enabled variables (RFC130: > http://dev.perl.org/rfc/130.pod), but I didn't get too much response I think the RFC looks fine. This would be nice thing for perl to have. -- John Porter

Re: implied pascal-like "with" or "express"

2000-08-23 Thread James Mastros
From: "Damian Conway" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, August 18, 2000 12:56 AM Subject: Re: implied pascal-like "with" or "express" > Aha! How about this...which would give us your desired C functionality > *and* solve a nagging problem with named arguments: > > Suppose C

Re: Things to remove

2000-08-23 Thread Larry Wall
Tom Christiansen writes: : >2) The ability to dump out a variable and all its attached state into : >something that can be loaded in later somewhere else. : : To hope to do this completely and correctly is courageous. : : my @funx = (); : for my $name (qw/violet purple cream/) { :

Re: Things to remove

2000-08-23 Thread Tom Christiansen
>2) The ability to dump out a variable and all its attached state into >something that can be loaded in later somewhere else. To hope to do this completely and correctly is courageous. my @funx = (); for my $name (qw/violet purple cream/) { push @funx, sub { print "I

Re: ... as a term

2000-08-23 Thread Nathan Wiger
> If you want to save the world, come up with a better way to say "www". > (And make it stick...) The funniest thing I've ever read is that Tim Berners-Lee's wife supposedly criticized the term "www" because "world wide web" was shorter to say than "www" (3 syllables vs. 9). -Nate

Re: Pre-RFC: Require a warning on spaces after here-document "terminator"

2000-08-23 Thread Nathan Wiger
Ariel Scolnicov wrote: > > print < The next line contains a space at the end. > END > This is still a here document > END > > This can be very hard to discover. I find it hard to see myself doing > this on purpose. I agree with Larry that Perl should Do The Right Thing, bu

Re: Ideas that need RFCs?

2000-08-23 Thread Larry Wall
Dan Sugalski writes: : At 10:35 AM 8/19/00 +1000, Damian Conway wrote: : >However, for Perl 6 I'd really like to see run-time access to the : >Real Tokenizer (tm): : > : > use tokenizer; : > : > my $tree = tokenizer( $sourcecode ); : > : >This would be dead handy for building sourc

Re: transaction-enabled variables

2000-08-23 Thread James Mastros
From: "dLux" <[EMAIL PROTECTED]> Sent: Wednesday, August 23, 2000 7:32 AM Subject: transaction-enabled variables > I've posted an RFC about transaction-enabled variables (RFC130: > http://dev.perl.org/rfc/130.pod), but I didn't get too much response > about that. Does anyone have commen

Re: RFC 140 (v1) One Should Not Get Away With Ignoring System Call Errors

2000-08-23 Thread Jon Ericson
Perl6 RFC Librarian wrote: > =head2 Cheating Is Still Possible > > Not ignoring the return value is of course no guarantee of doing > anything useful with the return value: > > $so_what++ unless defined fork(); > > But detecting whether 'something useful' is done is squarely in > the re

Re: Ideas that need RFCs?

2000-08-23 Thread Dan Sugalski
At 10:35 AM 8/19/00 +1000, Damian Conway wrote: >However, for Perl 6 I'd really like to see run-time access to the >Real Tokenizer (tm): > > use tokenizer; > > my $tree = tokenizer( $sourcecode ); > >This would be dead handy for building source-code filtering modules, >rather than

Re: Things to remove

2000-08-23 Thread Dan Sugalski
At 09:37 AM 8/23/00 -0700, Larry Wall wrote: >Dan Sugalski writes: >: What I've been hoping for is: >: >: 1) The ability to dump the program and its current state out into something >: that can be reloaded later. (Though filehandles and other >: external-interface things make this tricky) >: >: 2)

Re: RFC 133 (v1) Alternate Syntax for variable names

2000-08-23 Thread David L. Nicol
David Corbin wrote: > > > > For the remainder of the enclosing block, the barewords var, > > array and hash are to be interpreted as references to a scalar, an > > array, and a hash. > > I'm confused by this statement. Are you suggesting an alternative to > the original RFC? No, I was trying

Re: Things to remove

2000-08-23 Thread Buddha Buck
At 09:37 AM 8/23/00 -0700, Larry Wall wrote: >Dan Sugalski writes: >: What I've been hoping for is: >: >: 1) The ability to dump the program and its current state out into something >: that can be reloaded later. (Though filehandles and other >: external-interface things make this tricky) >: >: 2)

Re: Things to remove

2000-08-23 Thread Larry Wall
Dan Sugalski writes: : What I've been hoping for is: : : 1) The ability to dump the program and its current state out into something : that can be reloaded later. (Though filehandles and other : external-interface things make this tricky) : : 2) The ability to dump out a variable and all its a

Re: RFC 133 (v1) Alternate Syntax for variable names

2000-08-23 Thread David Corbin
"David L. Nicol" wrote: > > > > > Consider the following syntax: > > > > my var; # declaring a scalar > > my array[]; # declaring an array > > my hash{};# declaring a hash > > For the remainder of the enclosing block, the barewords var, > array and hash are to be interpreted as r

Re: Things to remove

2000-08-23 Thread Dan Sugalski
At 06:00 PM 8/21/00 -0700, Larry Wall wrote: >[EMAIL PROTECTED] writes: >: How about this then: >: >: In a void context, C dumps the program's current opcode representation >: to its filehandle argument (or STDOUT, by default). > >It's not clear to me that reusing a lame keyword for this is the >h

Re: RFC 139 (v1) Allow Calling Any Function With A Syntax Like s///

2000-08-23 Thread Markus Peter
--On 23.08.2000 4:31 Uhr + Perl6 RFC Librarian wrote: > The calling syntaces of m()/s() should be consistent with other forms of > function call; this should be achieved not by eliminating the traditional > C form from m()/s(), but by allowing any function to be called with > C. I'm not so s

Re: RFCs (Re: Ideas that need RFCs?)

2000-08-23 Thread John Porter
David L. Nicol wrote: > > RFC: It's all exception handling. I imagine the core syntax description > as a set of catch clauses. Every token generates a "TOKEN-$whatever" > exception, which is caught according to the current situation. How's > that for a general paradigm? These things can be o

Re: functions that deal with hash should be more libera

2000-08-23 Thread John Porter
John Porter wrote: > [to you only, as this thread is now distinctly off-topic for perl6-language] Well, as Peter pointed out, I managed to utterly mis-edit my headers. And now I can't think of an appropriate expletive to express how I feel about it. Guess I'm just glad what I wrote wasn't rea

transaction-enabled variables

2000-08-23 Thread dLux
Hello! I've posted an RFC about transaction-enabled variables (RFC130: http://dev.perl.org/rfc/130.pod), but I didn't get too much response about that. Does anyone have comment about that? I want to clarify the language part of that (new keyword, new pragma), and if it is clear,

Re: Filtering rules

2000-08-23 Thread Alan Burlison
Steve Fink wrote: > > (Off-topic for this list, but I'm not sure where else to send it) > > Could we have a discussion somewhere of useful filtering rules for all > these perl6 lists? Specifically, I'm looking to steal other people's > .procmailrc snippets. I imagine that a lot of people have wr