The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Toader::isaToaderDir - Checks if a directory has Toader support or not.

VERSION

Version 0.1.0

SYNOPSIS

    use Toader::isaToaderDir;

    my $foo = Toader::isaToaderDir->new();

    my $returned=$foo->isaToaderDir($directory);
    if(!$returned){
        if($foo->error){
            warn('Error '.$foo->error.': '.$foo->errorString);
        }
    }else{
        print "It is a Toader directory";
    }

METHODS

new

This initiates the object.

    my $foo = Toader::isaToaderDir->new();

isaToaderDir

This checks if a directory is a Toader directory.

If it is it returns true, it is a Toader directory.

A error will only be generated if a directory is not specified or it does not exist.

    my $returned=$foo->isaToaderDir($directory);
    if(!$returned){
        if($foo->error){
            warn('Error '.$foo->error.': '.$foo->errorString);
        }
    }else{
        print "It is a Toader directory";
    }

ERROR CODES

1, noDirSpecified

No directory specified.

2, notAdir

Not a directory.

AUTHOR

Zane C. Bowers-Hadley, <vvelox at vvelox.net>

BUGS

Please report any bugs or feature requests to bug-toader at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Toader. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Toader::isaToaderDir

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2013 Zane C. Bowers-Hadley.

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.