Dir::Watch - Watches the current directory for file additions or removals.
Version 0.0.0
use Dir::Watch; $dirwatch=Dir::Watch->new; if($dirwatch->check){ print "There are new items\n"; }
This initiates the object.
$dirwatch=Dir::Watch->new;
This checks for a new directories or files.
If any thing has been added or removed, true is returned.
If nothing has been added or removed, false is returned.
if(!$dirwatch->check){ print "There have been either files/directories added or removed.\n"; }
Zane C. Bowers, <vvelox at vvelox.net>
<vvelox at vvelox.net>
Please report any bugs or feature requests to bug-dir-watch at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Dir-Watch. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-dir-watch at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Dir::Watch
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Dir-Watch
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Dir-Watch
CPAN Ratings
http://cpanratings.perl.org/d/Dir-Watch
Search CPAN
http://search.cpan.org/dist/Dir-Watch/
Copyright 2009 Zane C. Bowers, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Dir::Watch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dir::Watch
CPAN shell
perl -MCPAN -e shell install Dir::Watch
For more information on module installation, please visit the detailed CPAN module installation guide.