Skip Menu |

This queue is for tickets about the Dir-Watch CPAN distribution.

Report information
The Basics
Id: 119197
Status: new
Priority: 0/
Queue: Dir-Watch

People
Owner: Nobody in particular
Requestors: shawnhcorey [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Feature Request: Watching Dirs Other Than CWD
Date: Sat, 10 Dec 2016 10:13:04 -0500
To: bug-Dir-Watch [...] rt.cpan.org
From: Shawn H Corey <shawnhcorey [...] gmail.com>
Would it be possible for Dir::Watch::new to accept a path to a directory so that any can be monitored? eg: my $home_dir_watch = Dir::Watch->new( { dir => $ENV{HOME} } ); if( $home_dir_watch->check ){ say "Your home has changed."; } -- Don't stop where the ink does. Shawn H Corey