Luke Palmer [EMAIL PROTECTED] writes:
On 7/26/05, TSa (Thomas Sandlaß) [EMAIL PROTECTED] wrote:
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
On 7/26/05, TSa (Thomas Sandlaß) [EMAIL PROTECTED] wrote:
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
Luke Palmer wrote:
On 7/26/05, TSa (Thomas Sandlaß) [EMAIL PROTECTED] wrote:
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
for instance) I would like to be able to iterate over all the
objects in the live set. ISTM that exposing the Garbage Collector at the
Language level is the neatest way of doing this (or coming up with something
like Ruby's ObjectSpace, but conceptually I reckon the GC is the right place to
hang it).
that exposing the Garbage Collector at the
Language level is the neatest way of doing this (or coming up with something
like Ruby's ObjectSpace, but conceptually I reckon the GC is the right place to
hang it).
To me the GC is an implementation detail for rendering the
illussion of infinite memory
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
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 hijack
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 :default10 }';
Assuming I've got the syntax right for defaulting an attribute,
I think you need a
I wrote:
class Example
{
my %private_data;
my sub source {...};
has %.data;
has .blahh = { %.datablahh };
Should read $.blahh, . would indicate codehood.
# and how about syntactic sugar for this:
has .blubber from %.data;
Here also $.blubber.
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 Systems
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 :default10 }';
Assuming I've got the syntax right for defaulting an attribute, and lets assume
I have,
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 :default10 }';
Assuming I've got the syntax right for defaulting an attribute, and lets assume
I have, the Perl runtime
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.
It's entirely possible that Perl will be used on virtual
On Sat, 2005-07-23 at 20:41 -0700, Brent 'Dax' Royal-Gordon wrote:
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
14 matches
Mail list logo