Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

HTML::Mason::Component::Subcomponent

Name HTML::Mason::Component::Subcomponent
Version 1.59
Located at /usr/share/perl5
File /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm
Is Core No
Search CPAN for this module HTML::Mason::Component::Subcomponent
Documentation HTML::Mason::Component::Subcomponent
Module Details HTML::Mason::Component::Subcomponent

NAME

HTML::Mason::Component::Subcomponent - Mason Subcomponent Class


DESCRIPTION

This is a subclass of HTML::Mason::Component. Mason uses it to implement both subcomponents (defined by <%def>) and methods (defined by <%method>).

A subcomponent/method gets most of its properties from its owner. Note that the link from the subcomponent to its owner is a weak reference (to prevent circular references), so if you grab a subcomponent/method object, you should also grab and hold a reference to its owner. If the owner goes out of scope, the subcomponent/method object will become unusable.


METHODS

is_method
Returns 1 if this is a method (declared by <%method>), 0 if it is a subcomponent (defined by c<< <%def> >>).

owner
Returns the component object within which this subcomponent or method was defined.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026