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.
<support at roaringpenguin.com>
Copyright (c) 2009 Roaring Penguin Software, Inc. All rights reserved.