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)!).
GuildensternNegaterd character class uber alles!