From: "[EMAIL PROTECTED] via RT" <[EMAIL PROTECTED]>
Date: Fri, 02 Mar 2007 13:45:20 -0800
Hi,
I just fixed a GC bug relating to slurpys (a more general one reported
by Bernhard++, not just specific to tail calls) in the args passing
code. Please check with the latest in SVN and
Author: allison
Date: Fri Mar 2 18:00:45 2007
New Revision: 17301
Modified:
trunk/docs/pdds/draft/pdd15_objects.pod
Log:
[pdd]: Adding more details on roles to objects PDD.
Modified: trunk/docs/pdds/draft/pdd15_objects.pod
Luke Palmer schrieb:
> That is not what it means in Python.
You trapped me. :) Actually I don't know any python but I've once read a
for/else construct in python. But obviously it doesn't dwIm.
>From the Python Reference Manual:
When the items are exhausted (which is immediately when the seque
Hi,
Applied in 17281, thanks.
For your question, strdup is fine since these are not garbage
collectable strings (STRING*), just normal C char*'s. There is loads of
them used in IMCC. Unfortunately though, there is an issue in that we
don't free a load of 'em, or at least hadn't used to and I doub
# New Ticket Created by Klaas-Jan Stol
# Please include the string: [perl #41665]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=41665 >
hi,
attached a patch fixing the "not" operator and "and". for pynie.
regards.
kjs
In
Hi,
I just fixed a GC bug relating to slurpys (a more general one reported
by Bernhard++, not just specific to tail calls) in the args passing
code. Please check with the latest in SVN and see if that resolves the
problem.
(Bob, your patch was heading in the right direction, but I fixed this
with
# New Ticket Created by Bernhard Schmalhofer
# Please include the string: [perl #41666]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=41666 >
In ticket #41604 particle mentioned:
testing functions which accept pir as inpu
# New Ticket Created by Klaas-Jan Stol
# Please include the string: [perl #41670]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=41670 >
hi,
attached a patch for lang/pynie.
fixing:
* added transform for is [not] and [not
# New Ticket Created by Bernhard Schmalhofer
# Please include the string: [perl #41668]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=41668 >
Does anybody use or even look at docs/BROKEN.pod?
If not, then BROKEN.pod shoul
On Sun Feb 25 20:10:00 2007, [EMAIL PROTECTED] wrote:
> Now that 0.4.9 has been released, can this be committed?
>
I just tried, but I get:
/home/default/jnthn.net/dev/parrot/blib/lib/libparrot.so: undefined
reference to `find_vtable_meth'
collect2: ld returned 1 exit status
After applying it. A
As a little Perl 6 exercise I translated the Perl 5 Markov chain /
dissociated-press script from _The Practice of Programming_:
http://cm.bell-labs.com/cm/cs/tpop/markov.pl
Here's my Perl 6 attempt, with support for different prefix lengths.
my $n = 2; # prefix lengt
On Mar 02 2007, Luke Palmer wrote:
> Or I wonder if there's really a problem here that we're
> addressing, or whether we're just adding syntax because we can.
This syntax awkwardness comes up a lot in various kinds of reports.
for @records {
.print;
}
if @records {
say
Alek Storm (via RT) wrote:
This patch adds the add_attr, rem_attr, and rem_attr_str vtable
methods. These will come in handy for Ruby's metaclasses or
Smalltalk's class objects. The only PMC currently affected by this is
ParrotClass, and the rem_attr and rem_attr_str methods are still
unimplem
On 3/2/07, Thomas Wittek <[EMAIL PROTECTED]> wrote:
Today I stumbled upon the Perl5 module For::Else.
It adds an else block to a foreach loop:
foreach my $item (@items) {
#process each item
} else {
#handle the empty list case
}
I find it a very nice addition as I've written code
> foreach my $item (@items) {
> #process each item
> } else {
> #handle the empty list case
> }
>
> What do you think?
I'm not sure if I like it, but there have been several times that I would've
used it recently. I think it would certainly have utility.
Paul
Today I stumbled upon the Perl5 module For::Else.
It adds an else block to a foreach loop:
foreach my $item (@items) {
#process each item
} else {
#handle the empty list case
}
I find it a very nice addition as I've written code like this:
if (@stuff) {
for my $thing (@stuff) {
16 matches
Mail list logo