![]() |
![]()
| ![]() |
![]()
NAMEToader::Render::Entry::Cleanup - This is used for cleaning up the output directory prior to rendering. VERSIONVersion 0.1.0 SYNOPSISMETHODSnewThis initiates the object. One argument is required and it is a Toader object. my $foo=Toader::Render::Entry::Cleanup->new($toader); if($foo->error){ warn('error: '.$foo->error.":".$foo->errorString); } cleanupThis cleans up the output directory for a specified object. One argument is taken and that is the object to be cleaned from the output directory. $foo->cleanup( $obj ); if($foo->error){ warn('error: '.$foo->error.":".$foo->errorString); } ERROR CODES1, noToaderObjNo Toader object passed. 2, notAtoaderObjThe passed object is not a Toader object. 3, toaderPerrorThe Toader object passed has a permanent error set. 4, notAdirectoryObjThe passed object is not a Toader::Entry object. 5, noObjNo object passed. 6, noOutputDirSetThe Toader object has not had a output directory set. 7, outputDirDoesNotExistThe output directory does not appear to exist or is not a directory. 8, objPerrorThe object has a permanent error set. 9, noDirSetThe object has not had a directory set for it. 10, pathhelperErroredToader::pathHelper errored. 11, outputCleanupFailedFailed cleaning up the output directory. 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::Render::Entry::Cleanup 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.
|