Mail::Toaster::SetupMail::Toaster::Setup is a Perl module with methods to configure and build all the components of a modern email server. | |
Download |
Mail::Toaster::Setup Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Matt Simerson
- Publisher web site:
- http://search.cpan.org/~msimerson/
Mail::Toaster::Setup Tags
Mail::Toaster::Setup Description
Mail::Toaster::Setup is a Perl module with methods to configure and build all the components of a modern email server. Mail::Toaster::Setup is a Perl module with methods to configure and build all the components of a modern email server.The meat and potatoes of toaster_setup.pl. This is where the majority of the work gets done. Big chunks of the code and logic for getting all the various applications and scripts installed and configured resides in here.METHODSAll documented methods in this package (shown below) accept two optional arguments, debug and fatal. Setting debug to zero will supress nearly all informational and debugging output. If you want more output, simply pass along debug=>1 and status messages will print out. Fatal allows you to override the default behaviour of these methods, which is to die upon error. Each sub returns 0 if the action failed and 1 for success. arguments required: varies (most require conf) arguments optional: debug - print status messages fatal - die on errors (default) result: 0 - failure 1 - success Examples: 1. $setup->apache( debug=>0, fatal=>0 ); Try to build apache, do not print status messages and do not die on error(s). 2. $setup->apache( debug=>1 ); Try to build apache, print status messages, die on error(s). 3. if ( $setup->apache( ) { print "yay!n" }; Test to see if apache installed correctly. Requirements: · Perl
Mail::Toaster::Setup Related Software