Re: wait for file creation and wait

2008-11-26 Thread Deviloper
How time-critical is it? is it time-critical as an nuclear chain reaction or time-critical like cooking a gumbo? until ( -e $file) {   sleep(1); } If the resultion of 1 sec is not good enough use time::hires... "Mr. Shawn H. Corey" <[EMAIL PROTECTED]> hat am 26. November 2008 um 16:20 geschr

Re: wait for file creation and wait

2008-11-26 Thread Chas. Owens
On Wed, Nov 26, 2008 at 10:01, Sharan Basappa <[EMAIL PROTECTED]> wrote: > Hi, > > I am writing a scheduler for some proprietary task. > There are two questions pertaining to this > > 1) I have to wait for creation of a file by some external process. How > do I do that in perl? > In other words, is

Re: wait for file creation and wait

2008-11-26 Thread Mr. Shawn H. Corey
On Wed, 2008-11-26 at 20:31 +0530, Sharan Basappa wrote: > Hi, > > I am writing a scheduler for some proprietary task. > There are two questions pertaining to this > > 1) I have to wait for creation of a file by some external process. How > do I do that in perl? > In other words, is it possible t

wait for file creation and wait

2008-11-26 Thread Sharan Basappa
Hi, I am writing a scheduler for some proprietary task. There are two questions pertaining to this 1) I have to wait for creation of a file by some external process. How do I do that in perl? In other words, is it possible to list out the files in perl? 2) If file is not created then I have to w