1HTML::Mason::Component:U:sSeurbcCoomnptorniebnutt(e3d)PHeTrMlL:D:oMcausmoenn:t:aCtoimopnonent::Subcomponent(3)
2
3
4

NAME

6       HTML::Mason::Component::Subcomponent - Mason Subcomponent Class
7

DESCRIPTION

9       This is a subclass of HTML::Mason::Component. Mason uses it to
10       implement both subcomponents (defined by "<%def>") and methods (defined
11       by "<%method>").
12
13       A subcomponent/method gets most of its properties from its owner. Note
14       that the link from the subcomponent to its owner is a weak reference
15       (to prevent circular references), so if you grab a subcomponent/method
16       object, you should also grab and hold a reference to its owner. If the
17       owner goes out of scope, the subcomponent/method object will become
18       unusable.
19

METHODS

21       is_method
22           Returns 1 if this is a method (declared by "<%method>"), 0 if it is
23           a subcomponent (defined by c<< <%def> >>).
24
25       owner
26           Returns the component object within which this subcomponent or
27           method was defined.
28
29
30
31perl v5.32.1                      2021-0H1T-M2L7::Mason::Component::Subcomponent(3)
Impressum