take delay in PERL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Arepi
    New Member
    • Sep 2008
    • 62

    #1

    take delay in PERL

    Hi!

    Are in PERL any function for make delay?
    Like in C delay(milisecon ds); .

    Thanks!
  • numberwhun
    Recognized Expert Moderator Specialist
    • May 2007
    • 3467

    #2
    I can only assume that you want to use this to allow a process to finish. If so, then you can use the "wait" command. Look it up on perldoc.perl.or g.

    Regards,

    Jeff

    Comment

    • KevinADC
      Recognized Expert Specialist
      • Jan 2007
      • 4092

      #3
      Jeff is having a hard time currently, I think he meant to suggest the sleep() function. But for sleep() times less than a second you probably need Time::HiRes

      Comment

      Working...