Devel::Memalyzer::Base - Base class for Devel::Memalyzer objects.
Provides new() and a simple accessor generator.
use base 'Devel::Memalyzer::Base'; __PACKAGE__->gen_accessors qw/ a b c /; my $instance = __PACKAGE__->new( a => 1, b => 2, c => 3 ); $instance->a; #Get $instance->a( 55 ); #Set
Chad Granum exodist7@gmail.com
Copyright (C) 2010 Rentrak Corperation
To install Devel::Memalyzer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Devel::Memalyzer
CPAN shell
perl -MCPAN -e shell install Devel::Memalyzer
For more information on module installation, please visit the detailed CPAN module installation guide.