Zane C. Bowers-Hadley > Toader-0.4.0 > Toader::isaToaderDir

Download:
Toader-0.4.0.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  1
View/Report Bugs
Module Version: 0.0.1   Source   Latest Release: Toader-1.1.2

NAME ^

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

VERSION ^

Version 0.0.1

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

No directory specified.

2

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 2011 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.

syntax highlighting: