herda05 has asked for the wisdom of the Perl Monks concerning the following question:
Now I've instantiated my object as per the instructions:my $modified = $object->mtime;
But I get the following error:use File::Monitor; use File::Monitor::Object; my $wFileMonitor = File::Monitor->new(); $wFileMonitor->watch($wFile); $wFileMonitor->scan; my $modified = $wFileMonitor->mtime;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Accessing File::Monitor attribute
by Crackers2 (Parson) on Aug 11, 2009 at 20:56 UTC | |
by herda05 (Acolyte) on Aug 11, 2009 at 21:13 UTC | |
by Crackers2 (Parson) on Aug 11, 2009 at 21:28 UTC |