in reply to mason: how to get attr out of a subcomponent?

This is from memory, but I think:
$m->callers(1)->attr('bar');
will do the trick....

-Blake

Replies are listed 'Best First'.
Re: Re: mason: how to get attr out of a subcomponent?
by alfie (Pilgrim) on Aug 28, 2001 at 12:10 UTC
    Unfortunately, callers(1) gives me the same result like current_comp->parent. With value of 0 I get the current_comp, so this doesn't help at all.

    No one else an idea? Am I out of luck? Unfortunately the #mason on opn seems to be quite dead (it's empty after all) so I think I'll have to bug the mailing lists. Thanks anway for the try.
    --
    use signature; signature(" So long\nAlfie");