Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. rwalters

    Perl "sleep" is not really sleeping

    What, if any, effect would the use of: use POSIX 'sleep'; have on the function of sleep? Bye the way, in case you can't tell, I am not a Perl heavyweight by any stretch of the imagination.
  2. rwalters

    Perl "sleep" is not really sleeping

    Thanks for the response. I don't understand how you say that. The last two forms effectively pass the command to the OS. How can that use more resources than allowing the Perl interpreter to control the function as the first two would?
  3. rwalters

    Perl "sleep" is not really sleeping

    Thanks for the responses. The resource I am most concerned about is cpu time. This is based on monitoring a perl script and a similarly constructed Korn shell script. The impact of the KSH script on total cpu usage is much less than the impact of the Perl script. sleep($time); sleep $time...
  4. rwalters

    Perl "sleep" is not really sleeping

    When I use something like: $sleeptime = 60; sleep $sleeptime; the script still consumes a small amount of system resources while it is supposed to be sleeping. I have tried every variation of the sleep function that I can think of. I have also tried compiling the script, but, it does not...
  5. rwalters

    "Can't use undefined value as filehandle" AIX 5.3

    We are currently contemplating moving from AIX 5.2 to 5.3. The following example perl script works fine in 5.2, both has a script and compiled. In AIX 5.3 it works as a script, but gives "Can't use an undefined value as filehandle reference" when it is compiled. If I comment out the getopts...

Part and Inventory Search

Back
Top