Pangloss::Object - base class for all Pangloss objects.
package Foo; use base qw( Pangloss::Object ); # Pangloss::accessors is loaded for you: use accessors qw( bar ); my $foo = Foo->new( @optional_args )->bar('baz'); $Pangloss::DEBUG{ Foo } = 1; $Pangloss::DEBUG{ ALL } = 1; $foo->emit( 'a message' );
Base class for Pangloss objects.
creates and returns a new object, if $obj->init( @args ) returns a true value.
does nothing by default. a false return value means initialization failed.
emits $msg if debugging is enabled for this object's class. can also be called as a class method.
hash of classes to enable debugging for, via emit(). If 'ALL' is set, debugging for all Pangloss classes is enabled.
Steve Purkis <spurkis@quiup.com>
Pangloss, Similar to OpenFrame::Object.
To install Pangloss, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pangloss
CPAN shell
perl -MCPAN -e shell install Pangloss
For more information on module installation, please visit the detailed CPAN module installation guide.