in reply to Re: Re: Infinte perl script
in thread Infinte perl script

Just guessing, but you may want to rethink a bit; how quickly do you need to respond to the file being deleted? Cron (if you've got it) might be a better way if 15/30 minutes can go by. Can you get the deleting process to fire off your script? A non-stop script isn't really a problem, but, er, "elegance" (or something) makes an "is this file gone yet?" every 10 seconds script seem a bit ugly. Unless your response time needs to be really w/i a 'sleep xx' range, get somebody else to do the work. IMHO

a