in reply to Re: Generic accessor for inside-out objects...
in thread Generic accessor for inside-out objects...

I wonder if the original poster is running on a mac? I'm running osx, and when running the given example script, i get:
a: 0.233512969994084 b: 0.77414042744519 a --> b --> c -->
just a thought, perhaps that helps.

Update: Ah, sorry. Temporary case of PEBKAC :o

__________
Systems development is like banging your head against a wall...
It's usually very painful, but if you're persistent, you'll get through it.

Replies are listed 'Best First'.
Re^3: Generic accessor for inside-out objects...
by kyle (Abbot) on Dec 11, 2007 at 16:47 UTC

    The code I put in my node won't run verbatim. I was trying to save space when I wrote:

    sub get { # pasted from OP }

    Indeed, if I run it as it is, it gives the results you show. However, even on the Mac I tried (OS X 10.4.11), it works when I take the code for get from the OP.