Sendmail::Queue::Base - Base class for Sendmail::Queue's objects
use base qw( Sendmail::Queue::Base ); # Generate get_foo, get_bar, set_foo and set_bar accessors __PACKAGE__->make_accessors(qw( foo bar ));
This provides constructor generation for Sendmail::Queue's internal objects.
Why not Moose? Or Class::Accessor? Or one of the many others? This module has to work within several different frameworks, some where Moose is not appropriate, and others where additional dependencies aren't possible, so requiring one of the existing modules isn't possible.
Generates get_ and set_ prefixed getters and setters for every variable in @variable_list. Assumes a hash-based object.
Dave O'Neill, <support at roaringpenguin.com>
<support at roaringpenguin.com>
Copyright (c) 2009 Roaring Penguin Software, Inc. All rights reserved.
To install Sendmail::Queue, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sendmail::Queue
CPAN shell
perl -MCPAN -e shell install Sendmail::Queue
For more information on module installation, please visit the detailed CPAN module installation guide.