Re: -X's auto-(un)quoting?

2005-04-25 Thread Nathan Wiger
Paul Seamons wrote: So then, to get back to the invocant... I can't say that I liked many of the proposals. The one that seemed to have merit though was $^. I'd propose the following. meth foo { $_.meth; # defaults to the invocant .meth; # operates on $_ which defaults to the

Re: -X's auto-(un)quoting?

2005-04-25 Thread Nathan Wiger
Paul Seamons wrote: meth foo { $_.meth; # defaults to the invocant .meth; # operates on $_ which defaults to the invocant $^.meth; # is the invocant $^1.meth; # is the first invocant $^2.meth; # is the second invocant I'm starting to get confused at the need for all these

Re: -X's auto-(un)quoting?

2005-04-25 Thread Nathan Wiger
Juerd wrote: Nathan Wiger skribis 2005-04-25 13:35 (-0700): My point is simply that we pick one or the other, instead of both/aliases/etc. But TIMTOWTDI. One way may be great for writing maintainable code, while the other is useful in oneliners (including single line method definitions). Then I

Re: Perl 6 modules plan

2001-08-14 Thread Nathan Wiger
Michael G Schwern wrote: I think you misunderstand. This isn't named parameters vs prototyped parameters vs args as list. The problem is the idea that functions should accept *multiple styles by default* which the proposed Module::Interface does. No, it doesn't. Unfortunately, I used

Re: Perl 6 modules plan

2001-08-13 Thread Nathan Wiger
Kirrily Robert wrote: I also think there's too much overhead in learning (and remembering) each library's quirks. My most common mistakes when using CPAN or core modules occur when the modules have inconsistent interfaces and I forget which ones take hashes and which take hashrefs, etc.

ALLCAPS subs, properties, etc (Re: Multiple classifications)

2001-06-27 Thread Nathan Wiger
* Damian Conway [EMAIL PROTECTED] [06/25/2001 13:20]: But one could also imagine that Perl 6 might allow individual objects to have an CISA property that pre-empted their class's C@ISA array. At some point, it is probably worth talking about Perl's ALLCAPS subs for special methods. For

~ for concat / negation (Re: The Perl 6 Emulator)

2001-06-21 Thread Nathan Wiger
* Simon Cozens [EMAIL PROTECTED] [06/14/2001 15:16]: OK, I've been teasing people about this for weeks, and it's time to stop. This is the current state of the Perl 6 emulator; it applies most things that Damian talked about in his keynote yesterday, and most of the things I've picked up in

Separate as keyword? (Re: 'is' and action at a distance)

2001-05-18 Thread Nathan Wiger
* Michael G Schwern [EMAIL PROTECTED] [05/18/2001 12:32]: Let me see if I understand this... $Foo is true; # Meanwhile, in another part of the city... $Foo = 0; print My spider sense is tingling if $Foo; Does that print or not? Maybe there are two different features being

Re: Separate as keyword? (Re: 'is' and action at a distance)

2001-05-18 Thread Nathan Wiger
Dammit, I got the example exactly backwards. Try this: $Foo is true; $Foo = 0; print Stuff if $Foo; # *WOULD* print - is assigns a # permanent true property $Foo as true = ; $Foo = 0; print Stuff if $Foo; # *WOULD NOT* print

Re: Exegesis2 and the is keyword

2001-05-16 Thread Nathan Wiger
* Michael G Schwern [EMAIL PROTECTED] [05/15/2001 17:49]: Is that autochomp as a keyword or autochomp as an indirect method call on $*ARGS? Who cares? ;-) The thing I worry about is this: I don't think actions should be declared using is, necessarily. $STDERR is flushed;

Re: apology (was Re: Exegesis2 and the is keyword)

2001-05-16 Thread Nathan Wiger
* Dave Storrs [EMAIL PROTECTED] [05/16/2001 11:25]: I recently received the following email from someone whose name I have snipped. * Dave Storrs [EMAIL PROTECTED] [05/16/2001 08:11]: Ok, this is basically a bunch of me too!s. Keep the snide comments to yourself. Thanks.

Exegesis2 and the is keyword

2001-05-15 Thread Nathan Wiger
So, I finally got around to reading the link Nat sent out: http://www.perl.com/pub/2001/05/08/exegesis2.html First off, nice job Damian (as always), it looks excellent. I like the examples of stuff like this: my int ($pre, $in, $post) is constant = (0..2); Awesome. Simple, Perlish, easy

Re: perl5 to perl6

2001-05-11 Thread Nathan Wiger
* Nathan Torkington [EMAIL PROTECTED] [05/10/2001 17:31]: Here's the corresponding perl6 program: #!/usr/bin/perl -w while ($ARGS) { ^ Whoa! Is RFC 94 being considered?! I thought I retracted that. ;-) Notice the variable changes: %count{...} because I'm talking

Perl5 Compatibility, take 2 (Re: Perl, the new generation)

2001-05-11 Thread Nathan Wiger
* Dan Sugalski [EMAIL PROTECTED] [05/11/2001 07:19]: I think you're in violent agreement here. This has been declared a goal of Perl 6 from almost day one. Ok, fair enough, but until just a little bit ago I was hearing stuff different from Dan. That has been changed, apparently

Re: p6 casting as shortcut for lengthier p5 syntax

2001-05-11 Thread Nathan Wiger
* Damian Conway [EMAIL PROTECTED] [05/11/2001 14:46]: Here's a translation table from my soon-to-be-released article, Exegesis 2: Access through... Perl 5 Perl 6 = == == Array slice @foo[$n]

Re: Perl, the new generation

2001-05-10 Thread Nathan Wiger
* Larry Wall [EMAIL PROTECTED] [05/10/2001 11:57]: Nathan Wiger writes: : Maybe the name Perl should be dropped altogether? No. The Schemers had to do a name change because the Lisp name had pretty much already been ruined by divergence. : (Granted, that's not what I'd prefer

Re: You will not have to rewrite your Perl 5 programs!

2001-05-10 Thread Nathan Wiger
* Dan Sugalski [EMAIL PROTECTED] [05/10/2001 14:18]: Perl 6 *will* provide a backwards compatible Perl 5 parser. The details are not nailed down, but this definately will happen. Damn straight. One way or another, perl 6 will eat perl 5 code close to painlessly. (Typeglobs, perhaps,

Re: You will not have to rewrite your Perl 5 programs!

2001-05-10 Thread Nathan Wiger
* Adam Turoff [EMAIL PROTECTED] [05/10/2001 15:20]: Yes, it has, in Apocolypse 1: Perl 6 must assume it is being fed Perl 5 code until it knows otherwise. http://www.perl.com/pub/2001/04/02/wall.html Yup, I saw that - actually, the discussion I was referencing was

Re: Perl, the new generation

2001-05-10 Thread Nathan Wiger
* Peter Scott [EMAIL PROTECTED] [05/10/2001 10:55]: Eh, I fully understand that version number magnitudes are simply to attract attention, and that The Faithful don't need the glitz. Since AFAICT the glitz doesn't hurt, though, it doesn't do any harm to give marketing all the help it

Re: Apoc2 - Context and variables

2001-05-08 Thread Nathan Wiger
* Larry Wall [EMAIL PROTECTED] [05/08/2001 10:11]: Nathan Wiger writes: : First off, before I forget to mention it, nice job on Apoc2 Larry! You are : the man. I know alot of us on p6l can seem like harsh critics at times, but : it's only because we love Perl so much. ;-) We'll have to do

Re: Apoc2 - STDIN concerns

2001-05-07 Thread Nathan Wiger
* Simon Cozens [EMAIL PROTECTED] [05/07/2001 13:33]: I'm not against a cleaner way to do qw() in principle, but I definitely think is not it for a lot of reasons (glob, readline, can't use =, iterators, ...) Sheesh. Yes, those would be problems with using in Perl 5. However, we are

Re: Apoc2 - STDIN concerns

2001-05-07 Thread Nathan Wiger
* Simon Cozens [EMAIL PROTECTED] [05/07/2001 13:46]: To quote you: : http://dev.perl.org/rfc/28.pod I'm not trying to be a jerk at all, but I think at times we're losing sight of the above. I hope not, since it was primarily written with you in mind. :) Hmm, that's odd. As I

Re: Apoc2 - STDIN concerns

2001-05-07 Thread Nathan Wiger
* Simon Cozens [EMAIL PROTECTED] [05/07/2001 13:17]: Bother. Well, you'd have to quote it, but then you wouldn't really have a hash key called = that often, either. Yeah, but you couldn't make use of a way to assign alternate values without some specialized syntax. I don't think this: %h

Re: Traffic lights and language design

2001-05-05 Thread Nathan Wiger
[again, apologies if this is a duplicate] * Michael G Schwern [EMAIL PROTECTED] [05/04/2001 15:51]: Oddly enough, varying the number of traffic lights can effect efficiency. By over-regulating you can choke off traffic. Constant fiddling with the setups and timings, trying to control each

Re: Apoc2 - STDIN concerns

2001-05-05 Thread Nathan Wiger
:$FH = open $file or die Can't open $file: $!; :$line = next $FH; : : If so, I can live with that. Yes, that's the reason it's Cnext, and not something more specific like Creadline, which isn't even true in Perl 5 when $/ is mungled. I dunno. Color me unconvinced--I do use the

Re: Apoc2 - STDIN concerns

2001-05-05 Thread Nathan Wiger
Ok, this is long, so here goes... I expect the real choice is between $FOO and $FOO. I can convince myself pretty easily that a unary is just another name for next, or more, or something. On the other hand $FOO has history. And if one special-cases $..., we could also have foo bar baz as

Re: Apoc2 - STDIN concerns

2001-05-04 Thread Nathan Wiger
: This one. I see a filehandle in *boolean* context meaning read to $_, : just like the current while (FOO) magic we all know and occasionally : love. I'd expect $FOO.readln (or something less Pascalish) to do an : explicit readline to a variable other than $_ It would be $FOO.next, but

Re: Apoc2 - Context and variables

2001-05-04 Thread Nathan Wiger
Horrors is right. The default perl5 behaviour is *useful*. I use the %b=(%a,%c) metaphor all of the time. Why not just keep it simple? And perl5-ish. Two contexts, scalar and list, hashes NOT a context of its own. I agree. But what to do with: (%a, %b) = (%c, %d); Surely that shouldn't

Re: Apoc2 - Context and variables

2001-05-04 Thread Nathan Wiger
$a = @b; 2. Pull a reference to @b (like Perl5's $a = \@b) Yep. Scalar context eval of arrays, hashes, and subs produces a reference. Perfect. Similarly, how about: %c = @d; Does this: 1. Create a hash w/ alternating keys/vals like

Re: Traffic lights and language design

2001-05-04 Thread Nathan Wiger
* Michael G Schwern [EMAIL PROTECTED] [05/04/2001 15:51]: Oddly enough, varying the number of traffic lights can effect efficiency. By over-regulating you can choke off traffic. Constant fiddling with the setups and timings, trying to control each and every intersection to maximize

Apoc2 - Context and variables

2001-05-04 Thread Nathan Wiger
First off, before I forget to mention it, nice job on Apoc2 Larry! You are the man. I know alot of us on p6l can seem like harsh critics at times, but it's only because we love Perl so much. ;-) Anyways, in addition to the $file.next stuff, I'm curious about a few clarifications on the new

Re: Apoc2 - STDIN concerns

2001-05-04 Thread Nathan Wiger
We do have to worry about the Cnext loop control function though. It's possible that in FOO: while (1) { next FOO if /foo/; ... } the CFOO label is actually being recognized as a pseudo-package name! The loop could well be an object whose full name is CMY::FOO. Or something

Re: Apoc2 - STDIN concerns

2001-05-04 Thread Nathan Wiger
While perhaps inconsistent, I'd really rather it did #2. Here's the basic argument... compare how often you dup a filehandle with how often you read from one. Duping is swamped by several orders of magnitude. Dup with $fh = $STDIN.copy; (or whatever). $line = $STDIN.next should still

Apoc2 - STDIN concerns

2001-05-04 Thread Nathan Wiger
There's a lot of good stuff in Apoc2, but I did have at least one semantic concern. In it, there's this proposal: : There is likely to be no need for an explicit input operator in Perl 6, : and I want the angles for something else. I/O handles are a subclass of : iterators, and I think general

Apoc2 - STDIN concerns

2001-05-04 Thread Nathan Wiger
[apologies if this is a duplicate, but my mail's been dropping] There's a lot of good stuff in Apoc2, but I did have at least one semantic concern. In it, there's this proposal: : There is likely to be no need for an explicit input operator in Perl 6, : and I want the angles for something else.

Re: a modest proposal Re: s/./~/g

2001-04-26 Thread Nathan Wiger
Graham Barr wrote: You don't get it. We are not looking for a single char to replace - We WANT to use . With complete respect here, I'm still not convinced this is true. Specifically, what the value of we is. It hardly sounds like everyone's united on this point. In fact, I've counted

Re: Sane + string concat proposal

2001-04-24 Thread Nathan Wiger
Michael G Schwern wrote: Oh, not to seed the clouds or anything, but what about += and .=? Any proposal will have to deal with those. Under what I originally posted: $a += $b;# string $a += $b; # numeric Seems easy enough... -Nate

Sane + string concat proposal

2001-04-24 Thread Nathan Wiger
THESE ARE NOT THE SAME TIRED ARGUMENTS! If you're on p5p, you're probably already rolling your eyes. However, I searched p5p all the way back to 1997 and could not find this proposal anywhere. Even though it looks similar to the standard Java + concat overload stuff, it is not, so please try to

Re: Sane + string concat proposal

2001-04-24 Thread Nathan Wiger
Stephen P. Potter wrote: | In Perl 6, you would do this like so: | |$string3 = $string1 + $string2; Once you go this route, you've pretty much destroyed the usefulness of having a concat operator. It is far less typing to do $string3 = $string1$string2; Agreed. The point

Re: YA string concat proposal

2001-04-24 Thread Nathan Wiger
Uri Guttman wrote: on the other hand, i use .= all the time and wouldn't like to lose it. schwern idea of ce doesn't work for me as only the op= stuff means assignment and ce would break that (e for = isn't visual enough). I was just thinking, too bad that Larry's claiming the colon

Regexp::Func (Re: YA string concat proposal)

2001-04-24 Thread Nathan Wiger
Stephen P. Potter wrote: Oh, and since it hasn't been mentioned for awhile, I'd still prefer if =~ and !~ went away and were replaced by match(string, [pattern], options), replace(string, [pattern], options) and trans(string, [pattern], options) or some such. This is one place where I

Re: Sane + string concat proposal

2001-04-24 Thread Nathan Wiger
Stephen P. Potter wrote: You still haven't given a good explanation of $a += sub(); # is it a string or a number? Does your plan mean that we can no longer have subs that are context dependent? No, Schwern asked me this same thing off list, here's what I said: One possibility:

Strings vs Numbers (Re: Tying Overloading)

2001-04-23 Thread Nathan Wiger
Larry Wall wrote: The . is just syntax. Do you mean something semantic by .-based? No, but I think just syntax is a little misleading. I do agree that we well, Perl 5 did it this way is not a sufficient design decision at this point. However, if you changed Perl's syntax too radically you

Re: Tying Overloading

2001-04-23 Thread Nathan Wiger
Larry Wall wrote: : I _really_ think dot-syntax would make perl prettier as well as make it : more acceptable to the world of javacsharpbasic droids. Which is some : kind of goal, no? Consider it a given that we'll be using . for dereferencing. (Possibly with - as a synonym, just for

Re: Strings vs Numbers (Re: Tying Overloading)

2001-04-23 Thread Nathan Wiger
John Porter wrote: One of the reasons I program in Perl as my primary language is *because of* the syntax. With all due respect, I don't believe that's why you, or anyone else, likes to program in Perl. I *really* don't want this to turn into a religious argument, which it's fast

Re: Tying Overloading

2001-04-20 Thread Nathan Wiger
Jarkko Hietaniemi wrote: // numeric comparisons int (*NUMCMP) (SVAL *this, SVAL *value); int (*NUMEQ) (SVAL *this, SVAL *value); int (*NUMNE) (SVAL *this, SVAL *value); int (*NUMLT) (SVAL *this, SVAL *value); int

Re: Parsing perl 5 with perl 6 (was Re: Larry's Apocalypse 1)

2001-04-16 Thread Nathan Wiger
Dan Sugalski wrote: Besides the size and clunkiness issues, there's another problem. String evals in a perl 5 section of code will expect to be parsed as perl 5, which kinda precludes the whole "compile perl 5 to bytecode and pass it through the p526 converter" solution. Makes mixing and

Perl 5 compatibility (Re: Larry's Apocalypse 1)

2001-04-05 Thread Nathan Wiger
Ted Ashton wrote: Thus it was written in the epistle of Michael G Schwern, I think [Nate]'s saying that its annoying to have to write any tag that says "Hey, I'm starting a new Perl 6 program here!" at the top of every single program, much in the same way its tiresome to write "int

Re: Larry's Apocalypse 1

2001-04-05 Thread Nathan Wiger
Nathan Torkington wrote: *tap* *tap* is this thing on? squeal screeech whiz (lame attempt at a "feedback" joke - ha ha) Like others, I'm amazed. It looks like Perl 6 is going to be incredibly coherent, despite the RFC frenzy. For now I have mainly compliments, and a few thoughts: 1.

Re: Turn 'em on! (was Re: Warnings, strict, and CPAN)

2001-02-26 Thread Nathan Wiger
[EMAIL PROTECTED] wrote: Command-line flags on by default [-T -Mstrict -Mwarnings]: We already beat this to death with the .perlrc discussion. You'll break reams of Perl code you probably don't even know you have this way. It destroys the portability of Perl programs. Yup, I

Re: Turn 'em on! (was Re: Warnings, strict, and CPAN)

2001-02-23 Thread Nathan Wiger
[EMAIL PROTECTED] wrote: But we can run an experiment. Warnings can be made default for the first few releases of Perl 6 and we'll see what happens. If it looks good, leave them on. If not, shut them off. Unlike most other features, this one doesn't have any serious backwards

The binding of my (Re: Closures and default lexical-scope for subs)

2001-02-16 Thread Nathan Wiger
Branden wrote: As to the second item b), I would say I withdraw my complaints about `my' if my other proposal of `use scope' gets approved (since then I don't need `my' anymore!). I guess I would be happier with `use scope', and I also think it would make you happier, since it wouldn't

Re: Closures and default lexical-scope for subs

2001-02-15 Thread Nathan Wiger
Peter Scott wrote: At 01:15 PM 2/15/01 -0500, John Porter wrote: my $a, $b, $c;# only $a is lexically scoped Quite. But on a tangent, I see no good reason why this shouldn't be given the same interpretation as "my ($a, $b, $c)" on the grounds that functions taking list

Re: Closures and default lexical-scope for subs

2001-02-15 Thread Nathan Wiger
Peter Scott wrote: And in any case, make '-e' have the additional connotation that implies 'no strict', and 'no warn'. no 'warnings' Seems simple enough to me. Yes, that's what I thought; but this has generated more heat than light, at least on the times I've brought it up, e.g.,

Warnings, strict, and CPAN (Re: Closures and default lexical-scope for subs)

2001-02-15 Thread Nathan Wiger
[resent to perl6-language, sorry for any duplicates] Edward Peschko wrote: I personally think that this is something Larry is going to have to decide. However, I would like to note that leaving these off by default lowers the transition curve to Perl 6 immensely for those people that

Re: Really auto autoloaded modules

2001-02-05 Thread Nathan Wiger
Dan Sugalski wrote: The parser needs to have it in a standard system-wide place. Hmmm. I see what you mean, but why couldn't it be in @INC, first one wins? The file could be named AutoUse.pm or something. That strikes me as very much too high level a thing. I'm figuring there will be

Re: Really auto autoloaded modules

2001-02-05 Thread Nathan Wiger
Dan Sugalski wrote: Regarding #1, if there's no need to make it extensible by users, why have a file at all? This shouldn't change after Perl is built, right? And all of the stuff that's going to be "autoloaded" in this way will be included in the core dist, right? Sounds like some #defines

Re: Really auto autoloaded modules

2001-02-02 Thread Nathan Wiger
Damian Conway wrote: However, it also seems that this is getting *really* complicated really quickly. I'd agree. I was picturing the file the parser used reading something like: socket|Socket|1.0|gt I think this is the way to go. I'd suggest that the syntax be easier

New export mechanism (Re: Really auto autoloaded modules)

2001-02-02 Thread Nathan Wiger
Damian Conway wrote: I like that, though I'd go with different key names ("always" isn't always, and "tags" is not well related to its effect). How about: use export implicit = [qw(you get this)], explicit = [qw(only by request)], complicit =

Re: Really auto autoloaded modules

2001-02-01 Thread Nathan Wiger
Dan Sugalski wrote: At 12:33 PM 2/1/2001 -0500, Michael G Schwern wrote: Have a look at AnyLoader in CPAN. Looks pretty close to what's needed. Care to flesh it out (and streamline it where needed) to a PDD? There's also autouse, a pragma that ships with Perl. Again, not exactly right

UNIX epoch issues (Re: Why shouldn't sleep(0.5) DWIM?)

2001-01-30 Thread Nathan Wiger
Jarkko Hietaniemi wrote: As I said the problem isn't the p52p6 doing that kind of transformation. The problem is someone familiar with perl5 writing code in perl6: if (my $fh = open("/tmp/$$".time())) { and later something crashing and burning because some other place expects

Re: This is PDD #1--a high-level overview of the perl system

2001-01-03 Thread Nathan Wiger
First off, this looks really cool to me, nice job. The only thing I'm a little surprised by is this: =head2 Independent subsystems Perl also has a number of subsystems that are independent of any single module. =item PerlIO subsystem =item Regex engine I would have actually expected

Re: Perl 5's non-greedy matching can be TOO greedy!

2000-12-14 Thread Nathan Wiger
The crux of the problem is that non-greedy qualifiers don't affect the "earliest match" behavior, which makes the matches more greedy than they really ought to be. Here is a simple example: (tested with perl 5.005_03) $_ = ""; ($greedy) = /(b.*d)/; #

Re: Tech documentation (Re: Perl Apprenticeship Program)

2000-12-06 Thread Nathan Wiger
Kirrily Skud Robert wrote: Open Source Writers Group (http://oswg.org/) is a good starting point. I'm subscribed to their mailing list. This is really cool. Should we consider posting an announcement to this website for potential docs people? Or is it still premature to do something like

OO AV/HV's and tie (was Re: Meta-design)

2000-12-06 Thread Nathan Wiger
Simon Cozens wrote: =head2 Implementation Language C++ gives us OO and headaches, is wildly non-portable due to a lack of decent implementations, and we don't have enough experience of it. C's portable and everyone knows it, but it's a swine for doing OO things. Don't forget we can

Re: OO AV/HV's and tie (was Re: Meta-design)

2000-12-06 Thread Nathan Wiger
Simon Cozens wrote: Oh boy, it's OO syntax nargery time again. *sigh*. I think it would be cool Good for you. This is internals design; perl6-language is over there --- and the "ph33r mY |ewl dr3am 5inta" phase is supposed to be over now anyway. Cool! Thanks alot for the useful

Tech documentation (Re: Perl Apprenticeship Program)

2000-12-05 Thread Nathan Wiger
Steve Fink wrote: David Grove wrote: Also, as far as documentation goes, I think it _should_ be written by apprentices, so that non-masters can understand it too. Except it's a particular duty that nobody really likes to perform. One thing that might be really cool is if there was a

Re: how the FreeBSD project gets its core members

2000-10-16 Thread Nathan Wiger
Adam Turoff wrote: No worries. These BSD guys are onto something... http://www.daemonnews.org/200010/dadvocate.html Thanks for the great link. This is a really interesting article. In particular, I found these points about FreeBSD to be reminiscient of concerns some have raised about

Re: Now and then

2000-10-11 Thread Nathan Wiger
Nathan Torkington wrote: The immediate question facing us is how to structure software design. This is different from the ongoing maintenance of Perl. The architecture will be partially decided by Larry, and seems best done by a few experienced with such things. Detailed design seems

Re: Continued RFC process

2000-10-10 Thread Nathan Wiger
Dan Sugalski wrote: Just that it not be *too* hard to get on the closed lists Yep, this is my only concern. It should be reasonably easy to say "I really want to help" and get on the closed lists. Perhaps the best way of making sure the lists don't bloat into "everyone has an opinion"

Re: Continued RFC process

2000-10-10 Thread Nathan Wiger
Dan Sugalski wrote: Works. We still have those Quantum Ninja that we're holding in reserve for Damian... :) Yeah... they're vicious, too - they kick ass in constant time. ;-) -Nate

Re: RFC 357 (v2) Perl should use XML for documentation instead of POD

2000-10-05 Thread Nathan Wiger
John Porter wrote: RFCs like "330: Global dynamic variables should remain the default" should not need to be written! (No disrespect to you, Nate.) None taken; I actually agree. Unfortunately, I thought that -strict did nowhere near enough analysis of scoping issues besides the initial

Re: RFC 357 (v2) Perl should use XML for documentation insteadof POD

2000-10-04 Thread Nathan Wiger
Retracting would have been easier, but could very well be seen as giving up on pointing out PODs deficiencies. Pointing POD deficiencies is fine. But the fundamental thrust of the RFC is still "replace POD with XML". That's why I even noted the alternative names and corresponding emphasis in

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

2000-10-02 Thread Nathan Wiger
However, making it a UNIVERSAL method also dictates that this: my SomeType @a :someattr; *must* be either: 1. a builtin type 2. tied To get its attributes back out. I'm not sure this is going to always be true. It must be my sinuses. I don't get that at all.

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

2000-10-02 Thread Nathan Wiger
I may be raining on your RFC 337 parade here (sorry I didn't get to it earlier - travel), but I think it entirely reasonable to want to specify a type for an array different from the type of thing it contains. But what syntax will you use? If I make one up for the sake of illustration:

Re: RFC 324 (v2) Extend AUTOLOAD functionality to AUTOGLOB

2000-10-01 Thread Nathan Wiger
=head1 CHANGES Comments received have been that it would be better to use AUTOSCALAR, AUTOHASH etc instead of AUTOGLOB in the interests of encapsulation. The argument being that if you only want to implement AUTO scalars in your program, then doing: Cif($type_of_thing eq 'scalar') {

Re: RFC 333 (v1) Add Cheader and Cunheader 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, similar

Re: RFC 330 (v1) Global dynamic variables should remain the default

2000-09-29 Thread Nathan Wiger
Piers Cawley wrote: Nathan Wiger [EMAIL PROTECTED] writes: Another proposal suggests that users should be forced to declare all variables with Cmy explicitly. Blech. That doesn't make anything easy. Perl is not a BD language. Actually Perl *can* be a Bondage Discipline language

Re: RFC 337 (v1) Common attribute system to allow user-defined, extensible attributes

2000-09-29 Thread Nathan Wiger
=head1 TITLE Common attribute system to allow user-defined, extensible attributes Err... have you read perldoc attributes? There's already a mechanism for doing this (see my japh), though it is a complete PITA to use and I'd like to see it tidied up (and possibly have attributes.pm

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

2000-09-29 Thread Nathan Wiger
=head1 TITLE Method calls should not suffer from the action on a distance Currently, foo-bar($baz) can be parsed either as C'foo'-bar($baz), or as Cfoo()-bar($baz) depending on how the symbol Cfoo was used on other places. The proposal is to always choose the first meaning: make

Re: RFC 324 (v1) Extend AUTOLOAD functionality to AUTOGLOB

2000-09-29 Thread Nathan Wiger
David Cantrell wrote: You can do it by explicitly calling your parent's AUTOGLOB as well if you're asked to deal with something you don't support yourself (see below). Also, having it as a single sub would be more easily extensible if we ever have more datatypes (I think!) and results in

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

2000-09-29 Thread Nathan Wiger
=head1 ABSTRACT Remove all interpolation within single quotes and the Cq() operator, to make single quotes 100% shell-like. C\ rather than C\\ gives a single backslash; use double quotes or Cq() if you need a single quote in your string. Yes. If people really need single quotes inside

Re: RFC 339 (v1) caller-eval BLOCK

2000-09-29 Thread Nathan Wiger
caller-eval EXPRESSION; That's mad, bad, scary and dangerous. Let's do it. Yes, this is cool. In fact, I'm writing Regexp::Func right now as a prototype for RFC 164 and discovering I could really use this - in fact, need it. A couple things: 1. Implement this eval as

Re: RFC 319 (v1) Transparently integrate Ctie

2000-09-29 Thread Nathan Wiger
Alan Gutierrez wrote: The suggested C use optimize pragma is starting to grow many heads. C use less was such a simple little pragma, a general direction for the interpreter to take. Here it seems that the optimizations apply to the C package int; only. Are we suggesting that

Re: RFC 352 (v1) Merge Perl and C#, but have default Main class for scripting.

2000-09-29 Thread Nathan Wiger
Simon Cozens wrote: On Fri, Sep 29, 2000 at 09:47:51PM -, Perl6 RFC Librarian wrote: I am a fan of Perl and like what I see of the core C# _language_. What I propose is to move Perl in the C# direction. So, this is the comedy RFC, eh? Indeed. Since you quoted a couple of my RFC's

Re: Expunge use English from Perl? (was Re: Perl6Storm: Intent to RFC #0101)

2000-09-28 Thread Nathan Wiger
Simon Cozens wrote: On Thu, Sep 28, 2000 at 10:00:49AM -0400, Andy Dougherty wrote: On Wed, 27 Sep 2000, Nathan Wiger wrote: Y'know, I couldn't have said this better myself. :-) I've always felt that "use English" was a waste of time and effort, a bandaid trying

The One True Deadline is approaching

2000-09-28 Thread Nathan Wiger
We've only got 4 days left until the One True Deadline on this whole thing. Please, go check this out: http://dev.perl.org/rfc/overdue-perl6-language-io.html And get your RFC's finished up. Remember: Oct 1st is a true deadline, coming from the powers above, meaning if your RFC is not frozen by

Re: RFC 336 (v1) use strict 'objects': a new pragma for using Java-like objects in Perl

2000-09-28 Thread Nathan Wiger
A few things I need to point out: use strict 'objects': a new pragma for using Java-like objects in Perl RFC 278 had already supposedly claimed "use strict 'objects'", but this is flexible. =head2 protected Just take Conway's RFC 188 and do a s/private/protected/g :-) So you're

Re: RFC 279 (v1) my() syntax extensions and attribute declarations

2000-09-28 Thread Nathan Wiger
Alan Gutierrez wrote: I still hope that it doesn't get as complicated as all this. I know there are arguments out there for specifying integer size and signedness but I can't imagine that adding this stuff is a good thing. Key thing: This is all *optional*. This is *not* required. I cannot

*REALLY*, it's getting close here...

2000-09-28 Thread Nathan Wiger
We've only got 4 days left until the One True Deadline on this whole thing. Please, go check this out: http://dev.perl.org/rfc/overdue-perl6-language-objects.html And get your RFC's finished up. Remember: Oct 1st is a true deadline, coming from the powers above, meaning if your RFC is not

Re: RFC 332 (v1) Regex: Make /$/ equivalent to /\z/ under the '/s' modifier

2000-09-28 Thread Nathan Wiger
Is $$ the only alternative, or did I miss more? I don't think I've even seen this $$ mentioned before? $$ is not a suitable alternative. It already means the current process ID. It really cannot be messed with. And ${$} is identical to $$ by definition. I still like the idea of $$, as I

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

2000-09-28 Thread Nathan Wiger
Alan Gutierrez wrote: This header functionality is application specific and does not belong in the core any more than the socket stuff which seems to be on its way out. I don't see why this has be implemented in the core in C. Once again, if core means core modules, and as a part of

Re: RFC 331 (v1) Consolidate the $1 and C\1 notations

2000-09-28 Thread Nathan Wiger
=item * C\1 goes away as a special form =item * $1 means what C\1 currently means (first match in this regex) =item * ${1} is the same as $1 (first match in this regex) =item * ${P1} means what $1 currently means (first match in last regex) Here's the big problem with this, and I

Re: Murdering @ISA considered cruel and unusual

2000-09-28 Thread Nathan Wiger
Piers Cawley wrote: I strongly agree with the opinion that we should try and get away from special variables and switches in favor of functions and pragmas. Witness 'use base' instead of '@ISA', 'use warnings', and so on. Huh? Why??? Perl's use of @ISA is beautiful. It's an example

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

2000-09-28 Thread Nathan Wiger
Tom Christiansen wrote: So what's left? print STDERR "Foo"; We have a proposal to turn STDERR into $STDERR, and it looks likely it'll go through. It is? I certainly hope not. It makes as much sense to do that as to force a dollar sign on subroutines. Your point is assuming

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

2000-09-28 Thread Nathan Wiger
A future protocol could well require things in order. Hence you're having the output headers in order. Therefore you should have the input ones available in order as well. I don't see a reason why an @HTTP ordered and %HTTP unordered couldn't both be supported. I'm thinking a $headers_in

Re: RFC 19 (v2) Rename the Clocal operator

2000-09-27 Thread Nathan Wiger
Rename the Clocal operator A list of other proposed replacement names includes (but is not limited to, since I certainly have forgotten some): Cnow Unfortunately, I wish this RFC would have taken a stand on at least a first choice. :-( I always thought that "now" was by far the most

Re: RFC 324 (v1) Extend AUTOLOAD functionality to AUTOGLOB

2000-09-27 Thread Nathan Wiger
The AUTOGLOB subroutine should expect to take two parameters, the invocant, and a second parameter specifying what type of item is being AUTOGLOBbed, followed by - in the case of a sub - the sub's arguments. We suggest that the second parameter should be a scalar value - 'scalar' for an

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

2000-09-27 Thread Nathan Wiger
Philip Newton wrote: Is order important for @HEADERS? Would it be better to have %HEADERS instead that does such auto-formatting? In my opinion, no, for the reasons given before. Hashes are unordered, and if you want to order the keys, you need to know the possibly keys and in which

Re: RFC 259 (v2) Builtins : Make use of hashref context forgarrulousbuiltins

2000-09-27 Thread Nathan Wiger
Damian Conway wrote: On the matter of gcos or gecos, and passwd or pw_passwd, and all that noise, please consult the User::pwent manpage. There's no reason for all those noisy bits. Since the standard function provides those noisy bits, this proposal names them. Note that

  1   2   3   4   >