Glossary
A—L
- argument
In this book, generally used to refer to the arguments passed to a component, declared in an
<%args>block.- attribute
A named property of a component that can be inherited via the inheritance hierarchy. Attributes are set using the
<%attr>tag and queried using the$component->attr( )method.- autohandler
A component that “wraps” other components and serves as a default parent. See also inheritance hierarchy and wrapping chain.
- base component
The bottommost child of the current component as invoked in a component call. This may be the current component itself. Analogous to the “self” in object-oriented programming. The base component changes several times throughout a request as components call one another.
- child component
The opposite of a “parent” component. Each component may have zero or more children. Children are not specified explicitly; rather, a component becomes a child by virtue of having a parent.
- Compiler
A class responsible for turning a body of Mason source code into Perl code suitable for execution by the Interpreter. Available in Mason components as
$m->interp->compiler.- component
The basic building block of a Mason site. A component is usually defined in a source file inside the component tree, though one file may define several components. Components can also be created on the fly by feeding component source text to the Interpreter’s
make_component( )method.- component root
Depending on context, may refer to a named, ordered list of directories ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access