Rechercher une page de manuel
Mail::SpamAssassin::Spamd::Config.3pm
Langue: en
Version: 2008-01-05 (mandriva - 01/05/08)
Section: 3 (Bibliothèques de fonctions)
NAME
Mail::SpamAssassin::Spamd::Config -- parse spamd command line optionsSYNOPSIS
my $conf = Mail::SpamAssassin::Spamd::Config->new( { argv => \@ARGV, defaults => { 'user-config' => 0, }, moreopts => [ qw( foo-option|f=s@ bar-option|b=i ) ], } );
DESCRIPTION
This module uses Getopt::Long to parse and validate spamd command line options.Returns blessed hash reference, containing coherent set of options. Dies on error.
See source and spamd(1) for list of valid options.
WARNING
This interface is considered experimental and likely to change. Notify the dev list if you're planning to rely on it.Getopt::Long::Configure is used to modify global Getopt::Long(3) configuration. If you don't want ":bundling" and / or wish to enable / disable something else for whatever reason... well, keep that in mind.
BUGS
Error messages are not unified.See <http://bugzilla.spamassassin.org/>
SEE ALSO
spamd(1), apache-spamd(1)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre