Re: Exposing the Garbage Collector

2005-07-25 Thread Matt Fowles
David~ On 25 Jul 2005 04:02:44 -, David Formosa (aka ? the Platypus) <[EMAIL PROTECTED]> wrote: > > I'm going to hijack this thread to discuss something else. Speaking for summarizers everywhere. A! Damn you! Matt -- "Computer Science is merely the post-Turing Decline of Formal System

Re: Exposing the Garbage Collector

2005-07-25 Thread TSa (Thomas Sandlaß)
I wrote: class Example { my %private_data; my sub source {...}; has %.data; has &.blahh = { %.data }; Should read $.blahh, &. would indicate codehood. # and how about syntactic sugar for this: has &.blubber from %.data; Here also $.blubber. Sorry

Re: Exposing the Garbage Collector

2005-07-25 Thread TSa (Thomas Sandlaß)
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 the syntax right for defaulting an attribute, I think you need a '

Re: Exposing the Garbage Collector

2005-07-25 Thread David Formosa \(aka ? the Platypus\)
On Sat, 23 Jul 2005 23:01:38 +0100, Piers Cawley <[EMAIL PROTECTED]> wrote: [...] > It seems to me, that the way to get at all the instances of a class is to ask > the Garbage Collector to do the heavy lifting for us, and ideally I'd like to > see this exposed at the Perl level. I'm going to hij