http://www.perlmonks.org?node_id=1107007
PhillyR has asked for the wisdom of the Perl Monks concerning the following question:

I have some code that is monitoring changes to files within a directory. Everything is great.

 my $notify = Win32::ChangeNotify->new($dir, 0, 'FILE_NAME LAST_WRITE SIZE') or die "Unable to create notification for $dir\n";

If a user changes the name of monitored directory, the notifications still work. However, now the $dir value is out of sync with the actual directory name. Is there a way to get the name of the folder being monitored by $notify? I'm thinking something like $notify->path();