Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: how to permanently monitor a directory

by LanceDeeply (Chaplain)
on Aug 14, 2003 at 13:50 UTC ( #283872=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $items_in_dir = @Dircontent;
    if ($items_in_dir > 2) ..
    
  2. or download this
    use strict;
    use warnings;
    ...
    
    scandir('.',\&do_something);
    scandir('.',\&do_something_else);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2014-10-26 07:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (152 votes), past polls