Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Linux::Inotify2 - unable to receive events

by jfroebe (Parson)
on Oct 03, 2008 at 21:36 UTC ( [id://715286]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    use strict;
    ...
     
     $event->w->cancel;
    }) or die "watch creation failed: $!";
    
  2. or download this
    $  inotifywatch -v -e access -e modify -t 20 -r /tmp/j
    Establishing watches...
    Setting up watch(es) on /tmp/j
    ...
    Will listen for events for 20 seconds.
    total  modify  filename
    18     18      /tmp/j/
    
  3. or download this
    #!/usr/bin/perl
    
    use strict;
    ...
    }) or die "watch creation failed: $!";
    
    1 while $inotify->poll;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://715286]
Approved by Corion
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-03-29 01:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found