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

If you're using Win32, there's always Win32::ChangeNotify. This will let you wait until your specified file is changed, then take action. I use it in a script on my NT box, and it doesn't take much CPU (especially compared to while(1)!).

Guildenstern
Negaterd character class uber alles!
  • Comment on (Guildenstern) Rex4: Infinte perl script