Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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)


Comment on Re: Pause Perl Script Execution
Re^2: Pause Perl Script Execution (inotify)
by tye (Cardinal) 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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2014-12-20 17:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (97 votes), past polls