Garbage Collector API

2005-07-26 Thread David Formosa \(aka ? the Platypus\)
So the summerizor doesn't get upset with me, I'll restate this in a seperate thread. We are should have an API to talk to the GC and give it hints about when it should run, and tweek the verious paramitors for its running. For example use GC trigger => 10`percent; GC::run(); # Trigger the Gar

Re: Exposing the Garbage Collector

2005-07-26 Thread Piers Cawley
"TSa (Thomas Sandlaß)" <[EMAIL PROTECTED]> writes: > Piers Cawley wrote: >> Let's say I have a class, call it Foo which has a bunch of attributes, and >> I've >> created a few of them. Then, at runtime I do: >>eval 'class Foo { has $.a_new_attribute is :default<10> }'; >> Assuming I've got th

Re: Exposing the Garbage Collector (Iterating the live set)

2005-07-26 Thread TSa (Thomas Sandlaß)
Piers Cawley wrote: I would like to be able to iterate over all the objects in the live set. My Idea actually is to embedd that into the namespace syntax. The idea is that of looking up non-negativ integer literals with 0 beeing the namespace owner. for ::Namespace -> $instance { if +

Re: Exposing the Garbage Collector (Iterating the live set)

2005-07-26 Thread TSa (Thomas Sandlaß)
HaloO Jonathan, you wrote: (why off-list?) H, and the current actor/owner is $/ which gives the expanded method call syntax: .method # really means: $/.method($_) You mean $?SELF rather than $/. $/ is now the match object used in rules. I would say *for* rules/methods. $?SELF i

Do slurpy parameters auto-flatten arrays?

2005-07-26 Thread Ingo Blechschmidt
Hi, are the following assumptions correct? sub foo ([EMAIL PROTECTED]) { @args[0] } say ~foo("a", "b", "c"); # "a" my @array = ; say ~foo(@array);# "a b c d" (or "a"?) say ~foo(@array, "z"); # "a b c d" (or "a"?) say ~foo([EMAIL PROTECTED]); # "a" s

Perl 6 Summary for 2005-07-19 through 2005-07-26

2005-07-26 Thread Matt Fowles
Perl 6 Summary for 2005-07-19 through 2005-07-26 All~ Welcome to another Perl 6 Summary brought to you by microwaved chinese food and air conditioning. I love the modern era. Without further ado, I bring you Perl 6 Compilers Grégoire Péan announed the release of PxPerl 5.8.7