Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Pause Perl Script Execution

by moritz (Cardinal)
on Sep 08, 2007 at 15:30 UTC ( #637843=note: print w/replies, xml ) Need Help??

in reply to Pause Perl Script Execution

It is considered bad style to ask in the CB and in SoPW as well without mentioning that, especially if you got good answers in the CB.

Regarding your question: depending on your OS there might be a more elaborate solution, like Win32::ChangeNotify (pointed out by tye++), or dnotify on Linux (ambrus++), I don't know if there is a perl frontend for that.

(Update: clarified first sentence)

Replies are listed 'Best First'.
Re^2: Pause Perl Script Execution (inotify)
by tye (Sage) on Sep 08, 2007 at 15:49 UTC

    inotify currently finds two module distributions that claim to support such. One complains about the other but has two reviews complaining about it.

    - tye        

      First sorry to post both in the CB and here, didn't realise it was the wrong approach. Second, I lost internet this avo so couldn't reply immediately. About pausing the perl script, I'm on a linux OS...not sure what this changes for the solution you've posted - many thanks for all your help so far guys.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2016-10-28 08:28 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (377 votes). Check out past polls.