Re: pdd30_install

2008-08-31 Thread Reini Urban
Allison Randal schrieb: Will Coleda wrote: It's important to keep in mind that for the most part, at least on unix-related operating systems, executables for a particular language will simply be an 'ln -s' to /usr/bin/parrot (taking advantage of the $0 executable name information to set up ce

[perl #58460] [PATCH] Bug with ResizablePMCArray::Append

2008-08-31 Thread via RT
# New Ticket Created by Stephen Weeks # Please include the string: [perl #58460] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=58460 > I tried using resizablepmcarray's append() in cardinal and I got 'double fre or corrup

[perl #58464] Match bug, $0 empty

2008-08-31 Thread via RT
# New Ticket Created by Ilya Belikin # Please include the string: [perl #58464] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=58464 > Hi! my $string = '%CD'; while ( $string ~~ /\%(..)/ ) { my $match = $0; } that die

[perl #58466] Re: Match bug, $0 empty

2008-08-31 Thread via RT
# New Ticket Created by Ilya Belikin # Please include the string: [perl #58466] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=58466 > Oh, excuse me: --- osname= linux osvers= 2.6.15.7 arch= i486-linux-gnu-thread-multi cc

Re: [perl #58464] Match bug, $0 empty

2008-08-31 Thread Carl Mäsak
Ihrd (>): > my $string = '%CD'; > while ( $string ~~ /\%(..)/ ) { > my $match = $0; > } > > that die with Null PMC access in get_pmc_keyed_int() I think this bug is the same as #58352.

Re: how much detail can I get from caller.want?

2008-08-31 Thread Xiao Yafeng
On Sat, Aug 30, 2008 at 4:22 AM, Dave Whipp <[EMAIL PROTECTED]> wrote: > Lets say I want to find the 5th smallest element in an array. I might > write: > > @array.sort.[4]; > > How does the implementation of the sort function know that I just want to > 5th item (and thus choose an appropriate opt

Re: [perl #58464] Match bug, $0 empty

2008-08-31 Thread Carl Mäsak
Carl (>), Ihrd (>>): >> my $string = '%CD'; >> while ( $string ~~ /\%(..)/ ) { >> my $match = $0; >> } >> >> that die with Null PMC access in get_pmc_keyed_int() > > I think this bug is the same as #58352. And thus it can be worked around, for the time being, doing this: my $string = '%CD'; whi

[perl #47992] [RFE] 'parrot foo' automatically finds and invokes foo.pbc

2008-08-31 Thread Allison Randal via RT
As mentioned in RT #49168, I'm in favor of a --language flag, that selects the default PBC/PIR file to run, and passes all other arguments to the ':main' sub in that file. It can also select default paths based on the options set the the configuration file for that language. Then, using the $

[perl #58474] Re: Match bug, $0 empty

2008-08-31 Thread via RT
# New Ticket Created by Ilya Belikin # Please include the string: [perl #58474] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=58474 > And excuse me again -- open ticket #58352 about that problem. 2008/8/31 Илья <[EMAIL PR

S*.pod edits submissions

2008-08-31 Thread John M. Dlugosz
I have changed files at waiting for someone in authority to merge.

Regex repetition controlled by characters

2008-08-31 Thread Stephen Simmons
In S05, I found this regarding the generalized repetition specifier: ** '|'# repetition controlled by presence of character I tried it out with rule thislist { ** '|' }; and got (with Rakudo): perl6regex parse error: Error in closure quantifier at offset 28, found ''' Is this fe

Re: Regex repetition controlled by characters

2008-08-31 Thread Moritz Lenz
Stephen Simmons wrote: > In S05, I found this regarding the generalized repetition specifier: > > ** '|'# repetition controlled by presence of character > > I tried it out with > > rule thislist { ** '|' }; > > and got (with Rakudo): > > perl6regex parse error: Error in closure q

Re: how much detail can I get from caller.want?

2008-08-31 Thread dpuu
On Aug 30, 8:47 am, [EMAIL PROTECTED] (John M. Dlugosz) wrote: > Have the sort function simply return a lazy list object. When the [4] > is called on that object, it knows to do as much work as needed, and can > leave the rest as lazy. That may be half the answer, but simply making the decision l

Exception Basics

2008-08-31 Thread John M. Dlugosz
In S04, the "Exceptions" section mentions that $! contains multiple exceptions. So what type is it? Why isn't it @! ? I says that they are thrown as a single new exception. So what type is that new exception? A multi-exception of some kind? How do you get multiple pending exceptions in th

What happened to "err" operator?

2008-08-31 Thread John M. Dlugosz
Has the "err" operator, as a low-precidence version of //, been removed? It's not mentioned in S03, and the semantics of "orelse" is different. Is "orelse" supposed to be a direct replacement, meaning if you ignore the parameter thing then it doesn't change anything?

[perl #58484] Use of uninitialized value in scalar assignment at lib/Parrot/Revision.pm line 95.

2008-08-31 Thread via RT
# New Ticket Created by Ron Schmidt # Please include the string: [perl #58484] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=58484 > Warning occurs when issuing 'perl Configure.pl' under cygwin where the LANG environment v

Re: how much detail can I get from caller.want?

2008-08-31 Thread John M. Dlugosz
dpuu dave-at-whipp.name |Perl 6| wrote: On Aug 30, 8:47 am, [EMAIL PROTECTED] (John M. Dlugosz) wrote: Have the sort function simply return a lazy list object. When the [4] is called on that object, it knows to do as much work as needed, and can leave the rest as lazy. That may be hal

[svn:parrot-pdd] r30622 - trunk/docs/pdds/draft

2008-08-31 Thread Bob Rogers
From: [EMAIL PROTECTED] Date: Thu, 28 Aug 2008 12:43:20 -0700 (PDT) Author: allison Date: Thu Aug 28 12:43:19 2008 New Revision: 30622 I've not responded to all your comments, just some of the key ones that I hope will promote understanding. I won't commit any changes until after

Re: [perl #58484] Use of uninitialized value in scalar assignment at lib/Parrot/Revision.pm line 95.

2008-08-31 Thread chromatic
On Sunday 31 August 2008 14:23:50 Ron Schmidt wrote: > Warning occurs when issuing 'perl Configure.pl' under cygwin where the > LANG environment variable does not have a default value on my system. > Patch to fix is included below. > > Index: lib/Parrot/Revision.pm > ==