Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: Accessing File::Monitor attribute

by Crackers2 (Parson)
on Aug 11, 2009 at 21:28 UTC ( [id://787776]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Accessing File::Monitor attribute
in thread Accessing File::Monitor attribute

I can't seem to find the line you quote in the docs. If I'd had to guess I'd say they're probably referring to the old_* fields in the delta object, which let you compare the values before and after the change.

Why don't you just query the files directly and only add them to the monitor if the mtime is fine? You have the filename, so you can just do a stat on it directly, can't you?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://787776]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-20 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found