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

[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. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58460 I tried using resizablepmcarray's append() in cardinal and I got 'double fre or

[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. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58464 Hi! my $string = '%CD'; while ( $string ~~ /\%(..)/ ) { my $match = $0; } that

[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. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58466 Oh, excuse me: --- osname= linux osvers= 2.6.15.7 arch=

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

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'; while $string ~~

[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. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58474 And excuse me again -- open ticket #58352 about that problem. 2008/8/31 Илья

S*.pod edits submissions

2008-08-31 Thread John M. Dlugosz
I have changed files at http://www.dlugosz.com/Perl6/offerings/ 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: alt ** '|'# repetition controlled by presence of character I tried it out with rule thislist { alpha ** '|' }; and got (with Rakudo): perl6regex parse error: Error in closure quantifier at offset 28, found '''

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: alt ** '|'# repetition controlled by presence of character I tried it out with rule thislist { alpha ** '|' }; and got (with Rakudo): perl6regex parse error: Error in closure

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

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 the

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. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58484 Warning occurs when issuing 'perl Configure.pl' under cygwin where the LANG

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

[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