GX::Meta::Delegator - Delegator metaclass
None.
This module provides the GX::Meta::Delegator class.
new
Returns a new GX::Meta::Delegator metaobject.
$delegator = GX::Meta::Delegator->new( %attributes );
attribute ( GX::Meta::Attribute object ) [ required ]
attribute
The associated attribute metaobject.
code ( CODE reference ) [ required ]
code
CODE
A reference to the delegator subroutine.
name ( string ) [ required ]
name
The name of the delegator method.
$delegator ( GX::Meta::Delegator object )
$delegator
GX::Meta::Exception
Returns the associated attribute metaobject.
$attribute = $delegator->attribute;
$attribute ( GX::Meta::Attribute object )
$attribute
Returns a reference to the delegator subroutine.
$code = $delegator->code;
$code ( CODE reference )
$code
Returns the name of the delegator method.
$name = $delegator->name;
$name ( string )
$name
GX::Meta
Jörg A. Uzarek <uzarek@runlevelnull.de>
Copyright (c) 2009-2011 Jörg A. Uzarek.
This module is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License Version 3 as published by the Free Software Foundation.
To install GX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GX
CPAN shell
perl -MCPAN -e shell install GX
For more information on module installation, please visit the detailed CPAN module installation guide.