Re: Should a dirhandle be a filehandle-like iterator?

2007-04-14 Thread Steve Peters
>for =$general_iterator { .say } > >$general_iterator.close; # or .end, or .whatever > > That last part is definetely not Llama material, but maybe I'll at > least hit the haystack. One of the things done for Perl 5.10 is to make dirhandles be a little bit more like filehandles. On OS's that allow it, things like stat DIRHANDLE -X DIRHANDLE chdir DIRHANDLE all make sense and do what you'd think they'd do. Steve Peters [EMAIL PROTECTED]

Re: new sigil

2005-10-21 Thread Steve Peters
On Fri, Oct 21, 2005 at 05:27:53PM +0200, Schneelocke wrote: > On 21/10/05, Steve Peters <[EMAIL PROTECTED]> wrote: > > I honestly don't know or care what flavor of vi I using, since it usually > > changes depending on what *nix flavor I'm working on. I also don&

Re: new sigil

2005-10-21 Thread Steve Peters
avor I'm working on. I also don't think that it should make a difference what editor I'm using with a programming language. Others seem to think differently. C'est la vie. Steve Peters [EMAIL PROTECTED]

Re: new sigil

2005-10-21 Thread Steve Peters
On Fri, Oct 21, 2005 at 09:35:12AM -0400, Rob Kinyon wrote: > On 10/21/05, Steve Peters <[EMAIL PROTECTED]> wrote: > > On Fri, Oct 21, 2005 at 02:37:09PM +0200, Juerd wrote: > > > Steve Peters skribis 2005-10-21 6:07 (-0500): > > > > Older versions of

Re: new sigil

2005-10-21 Thread Steve Peters
On Fri, Oct 21, 2005 at 02:37:09PM +0200, Juerd wrote: > Steve Peters skribis 2005-10-21 6:07 (-0500): > > Older versions of Eclipse are not able to enter these characters. That's > > where the copy and paste comes in. > > That's where upgrades come in. > Th

Re: new sigil

2005-10-21 Thread Steve Peters
t's where the issus with the documentation starts. > > It displays in Eclipse (3.1.1) whether the Text File Encoding is set to > Cp1252 (default) or UTF-8 or ISO-8859-1 Older versions of Eclipse are not able to enter these characters. That's where the copy and paste comes in. Steve Peters [EMAIL PROTECTED]

Re: new sigil

2005-10-21 Thread Steve Peters
On Fri, Oct 21, 2005 at 11:03:07AM +0200, Bra??o Tichý wrote: > > - Original Message - > From: "Steve Peters" <[EMAIL PROTECTED]> > To: "Luke Palmer" <[EMAIL PROTECTED]> > Cc: > Sent: Friday, October 21, 2005 4:21 AM > Subject: Re:

Re: new sigil

2005-10-20 Thread Steve Peters
rerequisite to experimenting in Perl 6. My bigger point is about system settings which are typically locked down and not usually sweet-talkable. Also, getting new software purchased can be a painfully slow depending on the bureaucracy involved, and generally requires lots of beers and lunches, or the right catastrophe, which could have been prevented and/or repaired with the tool you want, to speed up the process. Steve Peters [EMAIL PROTECTED]

Re: new sigil

2005-10-20 Thread Steve Peters
On Thu, Oct 20, 2005 at 04:23:44PM -0600, Luke Palmer wrote: > On 10/20/05, Steve Peters <[EMAIL PROTECTED]> wrote: > > Like the old joke goes "Doctor, Doctor, it hurts when I try to type a > > Latin-1 > > character." "So don't try to type Latin-1 c

Re: new sigil

2005-10-20 Thread Steve Peters
On Thu, Oct 20, 2005 at 05:03:27PM -0400, Rob Kinyon wrote: > On 10/20/05, Steve Peters <[EMAIL PROTECTED]> wrote: > > I have some serious concerns about using Latin-1 sigils within Perl 6 and > > the ASCII multi-character aliases. Am I not understanding something that > &

Re: new sigil

2005-10-20 Thread Steve Peters
On Thu, Oct 20, 2005 at 10:24:23AM -0700, chromatic wrote: > On Thu, 2005-10-20 at 10:32 -0500, Steve Peters wrote: > > > The idea of punishing programmers who choose to use certain operating system > > or locales just doesn't seem right to me. > > Haven

Re: new sigil

2005-10-20 Thread Steve Peters
use certain operating system or locales just doesn't seem right to me. Steve Peters [EMAIL PROTECTED]

Re: new sigil

2005-10-20 Thread Steve Peters
xisting class T that > we just might not see the declaration of for dynamic reasons". Instead, > the new sigil is the cent sign, so ::T is now written ¢T instead. > Looking at my U.S. English keyboard, I don't have a cent sign. I don't think a sigil that can't be

reset() and S29 -- obsoleted?

2005-03-15 Thread Steve Peters
One function I noticed on the S29 list was reset(). With lexically scoped variables, reset is almost useless. "Perl in a Nutshell" calls it "vaguely deprecated". Can we remove the vagueness and deprcate it completely? Steve Peters [EMAIL PROTECTED]

Parenthasized not in Perl 6 -> not()

2005-02-22 Thread Steve Peters
like C. Obviously, this is not a regularly used functionality since it took almost five years to be found. The question that a few of us discussed is whether it should be allowed at all? Is it a syntax error? If not, what is its purpose? Steve Peters [EMAIL PROTECTED]

Re: Question about pairs

2005-02-21 Thread Steve Peters
me kind of reserved word for a known set of "foo". > I'm sure if you did that someone would consider it perverse. > Just to clarify then, are the following two equivolent? my $x = 1 => 2 => 3 => 4; my $x = 1 => (2 => (3 => 4)); Steve Peters [EMAIL PROTECTED]

Re: Question about pairs

2005-02-21 Thread Steve Peters
On Mon, Feb 21, 2005 at 09:33:33PM +1100, Damian Conway wrote: > Steve Peters wrote: > > >While looking into Perl 6 and pugs, I noticed a problem with Pairs pretty > >quickly. Although pairs look like a very useful data type, I could find > >in the "Perl 6

Question about pairs

2005-02-21 Thread Steve Peters
tials" or any Apocolypse or other document on how to get the key or value from a pair. I was thinking .key and .value seemed logical (and Autrojus implemented them in pugs faster than I could even spit out the names), but that doesn't make them "official". Steve Peters [EMAIL PROTECTED]

Pairs and they work in Perl 6

2005-02-21 Thread Steve Peters
I've been starting to play around with Perl 6 and pugs when I ran into some questions regarding pairs. I've looked through "Perl 6 and Parrot Essentials" as well as the Apocolypses and others and haven't found a good answer. What is the method for retrieving a key or