|
NAMEToader::findToaderRoot - This finds the root Toader directory.VERSIONVersion 0.1.0SYNOPSISuse Toader::findToaderRoot; my $foo = Toader::findToaderRoot->new(); my $root=$foo->findToaderRoot($directory); if($foo->error){ warn('Error '.$foo->error.': '.$foo->errorString); }else{ print $root."\n"; } METHODSnewThis initiates the object.my $foo = Toader::findToaderRoot->new(); findToaderRootThis takes a directory and then finds the root for that Toader repo.One argument is required and it is the directory to start in. One value is returned and it is the root directory. my $root=$foo->findToaderRoot($directory); if($foo->error){ warn('Error '.$foo->error.': '.$foo->errorString); }else{ print $root."\n"; } ERROR CODES1, noDirSpecifiedNo directory specified.2, notAdirNot a directory.3, notAtoaderDirNot a Toader directory.4, isaToaderDirErroredToader::isaToaderDir->isaToaderDir errored.5, rootIsAtoaderDir"/" is the directory and it appears to be a Toader directory.This is a major WTF and should not be even if '/.toader' exists. AUTHORZane C. Bowers-Hadley, "<vvelox at vvelox.net>"BUGSPlease 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.SUPPORTYou can find documentation for this module with the perldoc command.perldoc Toader::findToaderRoot You can also look for information at:
ACKNOWLEDGEMENTSLICENSE AND COPYRIGHTCopyright 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.
Visit the GSP FreeBSD Man Page Interface. |