negative indices

2002-08-16 Thread Jerrad Pierce
I was wondering if perl would be handling negative array indices in the same manner as perl 5? That is to FETCHSIZE + index = real index, before attempting to fetch the element. It would be swell if the index was passed along as negative, and to then have the guts do this voodoo. This way, one cou

Re: What will the Perl6 code name be?

2000-10-23 Thread Jerrad Pierce
>> Perl, which allows object oriented syntax, written in C++ language, ^^ >Did I miss something, or did the world go *totally* gaga overnight? I think he's referring to Topaz. All together now: Topaz is dead, Topaz never was (public). --

RE: renaming local to "hold"

2000-10-23 Thread Jerrad Pierce
How about: scratch #doesn't really imply what it's doing overload#accurate, kinda long though some might say this is good dup/duplicate #nasty for the compiler, and perhaps for the newbies, #but dup'ing var's makes sense, esp. from the C stance clone/mycopy

Re: What will the Perl6 code name be?

2000-10-23 Thread Jerrad Pierce
>> > What about Hexane? Arthropod (or some insect)? These do habve meaning, Hexane is a six carbon hydocarbon. Anthropods(esp. insects) have six legs... >perl object-oriented language horrible! a) you're using an acronym within an acronym: Practical Extraction and Report Language Object-

Re: What will the Perl6 code name be?

2000-10-20 Thread Jerrad Pierce
>How about the traditional birthstone for the 6th month (June)? That would >be Alexandrite. This has the added advantage of being named after Tsar >Alexander I, who, like Perl, was ruler over a vast domain. Ha ha ha, obscure pun http://www.birthstones.com/stone_jun.html However come perl

Re: RFC 226 (v2) Selective interpolation in single quotish context.

2000-09-14 Thread Jerrad Pierce
Oh yeah I forget to outline what it currently does for those whom may not have seen it... It's usally used for evaluation and interplation of code/subroutines in "", qq() and <>2||($_<<2>12)){$_="Vainyvq ragel";&{$F[0]};last;}&t;$0-=$_;$_="Lbh jva"; die(&{$F[0]}) if !($0-1);$0-=$0%2?$0>2?2:1:$0<=

Re: RFC 226 (v2) Selective interpolation in single quotish context.

2000-09-14 Thread Jerrad Pierce
What's wrong with extending current syntax such that: $a = "Hello"; print q(@{[$a]} World), "\n"; outputs Hello World instead of @{[$a]} World yes, it's a few extra char's but IMHO it's a logical extension it makes you think twice before doing it, do you really need to do thi

Re: $a in @b

2000-09-12 Thread Jerrad Pierce
>> grep ITEM: { /^[1-9]/ || next ITEM } @list; >Not much that I can see, but your next does not include any return value, >so what should it be? Of course, if it's false, you didn't need a next in >the first place and if it's true you didn't need a grep in the first place :-) Doh! perha

Re: $a in @b

2000-09-11 Thread Jerrad Pierce
>Pardon my repetitiousness, but I'm puzzled at the total lack of response >AFAICS to my proposal for a second argument to next/last/redo. Was it so >stupendously moronic as to be beneath anyone's dignity to rebut, or >what? Either I'm out of it, or it looks a whole lot more appealing than a >new

Re: $a in @b

2000-09-11 Thread Jerrad Pierce
> > Either last has to be extended with a return value or a new keyword > > is needed. I'm quite partial to yield. Which might be overloaded > > to work with lazy lists, continuations, and short-circuiting. > > > > yield EXPR - stop what I am doing now and give something else a > >

[OT} Universal shell configuration

2000-09-02 Thread Jerrad Pierce
It's called meta shell ftp://www.guug.de/pub/members/truemper/metash -- #!/usr/bin/perl -nl BEGIN{($,,$0)=("\040",21);@F=(sub{tr[a-zA-Z][n-za-mN-ZA-M];print;}); $_="Gnxr 1-3 ng n gvzr, gur ynfg bar vf cbvfba.";&{$F[0]};sub t{*t=sub{}; return if rand()<.5;$_="Vg'f abg lbhe ghea lrg, abj tb.";&{$F

Re: Proposal: use Perl5

2000-08-31 Thread Jerrad Pierce
>> Since everyone seems intent on breaking backward compatibility >I don't think this is at all true, but I also don't think the overall you seem to have ignored the paranthetical clause >idea of a Perl5 module is necessarily a bad one. >However, my hope would be that we do Perl 6 smoothly enough

Re: Idea: minor %hash changes

2000-08-30 Thread Jerrad Pierce
>As far as I can tell reset %x currently tries to reset any >variables which start with either % or x even though no variable >can start with %... ~/perl ${"%percent"} = "Quoth the raven"; print ${"%percent"}, "\n"; reset("%"); print ${"%percent"}, "\n"; Quoth the raven Sure looks like it starts

Proposal: use Perl5

2000-08-30 Thread Jerrad Pierce
Since everyone seems intent on breaking backward compatibility (Okay, so no one is explicitly setting out to do so, it is merely often dismissed as a non-issue). How about an RFC be done proposing that perl6 ship with a module named Perl5. Which one can use to remedy most breakings between the two

Globs, (brrr) scalar filehandles, prototypes.

2000-08-30 Thread Jerrad Pierce
Not a huge issue, but I hadn't seen anyone else bring it up. If in fact: bareword filehandles are ditched globs are killed prototypes are potentially touched. perlsub sub myopen (*;$) myopen HANDLE, $name sub mypipe (**) mypipe READHA

RE: RFC 176 (v1) subroutine / generic entity documentation

2000-08-30 Thread Jerrad Pierce
Wohoo! REBOL-isous > sub foo : doc( < Function: Foo > In:scalar - int - foo identifier > Out:array - decomposed foo > Effects: Queries Foo DB > Exceptions: DBI, "bad foo id" > EOS > { And the liste alternatives really seem rather ugly though How about sub foo ($$,DOC) { } Sin

Re: functions that deal with hash should be more liberal

2000-08-22 Thread Jerrad Pierce
In reply to your message from the not too distant future: next Tuesday AD Reply-to: [EMAIL PROTECTED] Return-receipt-to: [EMAIL PROTECTED] Organization: a) Discordia b) none c) what's that? Content-Typo: gibberish, charset=ascii-art Date: Tue, 22 Aug 2000 13:48:36 EDT From: Jerrad P

Re: functions that deal with hash should be more liberal

2000-08-22 Thread Jerrad Pierce
In reply to your message from the not too distant future: next Tuesday AD Reply-to: [EMAIL PROTECTED] Organization: a) Discordia b) none c) what's that? Content-Typo: gibberish, charset=ascii-art Date: Tue, 22 Aug 2000 12:58:38 EDT From: Jerrad Pierce >I think you are still confused a

Re: functions that deal with hash should be more libera

2000-08-22 Thread Jerrad Pierce
In reply to your message from the not too distant future: next Tuesday AD Reply-to: [EMAIL PROTECTED] Return-receipt-to: [EMAIL PROTECTED] Organization: a) Discordia b) none c) what's that? Content-Typo: gibberish, charset=ascii-art Date: Tue, 22 Aug 2000 11:06:21 EDT From: Jerrad Pierce

Re: functions that deal with hash should be more liberal

2000-08-22 Thread Jerrad Pierce
In reply to your message from the not too distant future: next Monday AD Reply-to: [EMAIL PROTECTED] Return-receipt-to: [EMAIL PROTECTED] Organization: a) Discordia b) none c) what's that? Content-Typo: gibberish, charset=ascii-art Date: Tue, 22 Aug 2000 10:15:48 EDT From: Jerrad Pierce

Re: functions that deal with hash should be more libera

2000-08-21 Thread Jerrad Pierce
In reply to your message from the not too distant future: next Monday AD Reply-to: [EMAIL PROTECTED] Return-receipt-to: [EMAIL PROTECTED] Organization: a) Discordia b) none c) what's that? Content-Typo: gibberish, charset=ascii-art Date: Mon, 21 Aug 2000 19:04:27 EDT From: Jerrad Pierce

functions that deal with hash should be more liberal

2000-08-21 Thread Jerrad Pierce
ould all deal with being handed a hash from a code block or subroutine... -- * __* . \ | / .. . . . ((_ _ . . . -- / \ -- .. . +. . _/\ oo. | * . . . * / ;M\_ . ..oo. . . . . /\. / :IMM\ ....oo. Jerrad Pierc

Re: RFC 109 (v1) Less line noise - let's get rid of @%

2000-08-18 Thread Jerrad Pierce
In reply to your message from the not too distant future: next Friday AD Reply-to: [EMAIL PROTECTED] Return-receipt-to: [EMAIL PROTECTED] Organization: a) Discordia b) none c) what's that? Content-Typo: gibberish, charset=ascii-art Date: Fri, 18 Aug 2000 14:47:44 EDT From: Jerrad Pierce T

Re: C changes.

2000-08-18 Thread Jerrad Pierce
o. | * . . . * / ;M\_ . ..oo. . .. . /\. / :IMM\ ....oo. Jerrad Pierce /\ / \ / ;IIWMM ..oo... 209 North Street +/ \ / \ . / ;I

Re: filehandle objects et al. OR: Perl's not the glue, it's the borg of languages

2000-08-18 Thread Jerrad Pierce
In reply to your message from the not too distant future: next Thursday AD Reply-to: [EMAIL PROTECTED] Return-receipt-to: [EMAIL PROTECTED] Organization: a) Discordia b) none c) what's that? Content-Typo: gibberish, charset=ascii-art Date: Fri, 18 Aug 2000 10:07:04 EDT From: Jerrad P

Re: filehandle objects et al.

2000-08-17 Thread Jerrad Pierce
. . . . ((_ _ . . . -- / \ -- .. . +. . _/\ oo. | * . . . * / ;M\_ . ..oo. . .. . /\.

filehandle objects et al.

2000-08-17 Thread Jerrad Pierce
In reply to your message from the not too distant future: next Thursday AD Reply-to: [EMAIL PROTECTED] Return-receipt-to: [EMAIL PROTECTED] Organization: a) Discordia b) none c) what's that? Content-Typo: gibberish, charset=ascii-art Date: Thu, 17 Aug 2000 18:05:33 EDT From: Jerrad Pierce