Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: mason: how to get attr out of a subcomponent?

by blakem (Monsignor)
on Aug 27, 2001 at 21:06 UTC ( #108173=note: print w/replies, xml ) Need Help??


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");

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://108173]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (1)
As of 2022-05-19 03:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (71 votes). Check out past polls.

    Notices?