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 to list out the files in perl?

See `perldoc -f glob`

> 
> 2) If file is not created then I have to wait for sometime. How do I
> put real time delay in perl?

See `perldoc -f sleep`


-- 
Just my 0.00000002 million dollars worth,
  Shawn

The key to success is being too stupid to realize you can fail.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to