Mail::Maildir::Is::A - Checks if a directory is a mail directory or not.
Version 0.0.0
Initiates the object.
my $foo=Mail::Maildir::Is::A->new;
This returns true or false based on if specified directory is a maildir or not.
my $returned=$foo->isAmaildir('/somedir'); if($foo->error){ warn('Error:'.$self->error.':'.$self->errorString); } if(! $returned){ print "It is a maildir."\n"; }
Returns the current error code and true if there is an error.
If there is no error, undef is returned.
my $error=$foo->error; if($error){ print 'error code: '.$error."\n"; }
This blanks the error storage and is only meant for internal usage.
It does the following.
$zconf->{error}=undef; $zconf->{errorString}="";
The item does not exist.
The item is not a directory.
No directory specified.
Zane C. Bowers, <vvelox at vvelox.net>
<vvelox at vvelox.net>
Please report any bugs or feature requests to bug-mail-maildir-is-a at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Mail-Maildir-Is-A. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-mail-maildir-is-a at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Mail::Maildir::Is::A
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Mail-Maildir-Is-A
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Mail-Maildir-Is-A
CPAN Ratings
http://cpanratings.perl.org/d/Mail-Maildir-Is-A
Search CPAN
http://search.cpan.org/dist/Mail-Maildir-Is-A/
Copyright 2010 Zane C. Bowers.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Mail::Maildir::Is::A, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::Maildir::Is::A
CPAN shell
perl -MCPAN -e shell install Mail::Maildir::Is::A
For more information on module installation, please visit the detailed CPAN module installation guide.