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

NAME

Dir::Watch - Watches the current directory for file additions or removals.

VERSION

Version 0.0.0

SYNOPSIS

    use Dir::Watch;

    $dirwatch=Dir::Watch->new;

    if($dirwatch->check){
        print "There are new items\n";
    }

METHODS

new

This initiates the object.

    $dirwatch=Dir::Watch->new;

check

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";
    }

AUTHOR

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

BUGS

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.

SUPPORT

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

    perldoc Dir::Watch

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

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.