Class::MOP::Package - Package Meta Object |
Class::MOP::Package - Package Meta Object
This is an abstraction of a Perl 5 package, it is a superclass of the Class::MOP::Class manpage and provides all of the symbol table introspection methods.
$package_name
.
$variable_name
, which must contain a leading sigil, this
method will create that variable within the package which houses the
class. It also takes an optional $initial_value
, which must be a
reference of the same type as the sigil of the $variable_name
implies.
$variable_name
.
1
) if there is a package variable defined for
$variable_name
, and false (0
) otherwise.
$variable_name
.
$glob_name
from the package.
By passing a $type_filter
, you can limit the list to only those
which match the filter (either SCALAR, ARRAY, HASH or CODE).
Stevan Little <stevan@iinteractive.com>
Copyright 2006-2008 by Infinity Interactive, Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Class::MOP::Package - Package Meta Object |