Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^2: Perl oddities

by jplindstrom (Monsignor)
on Mar 01, 2005 at 20:55 UTC ( #435610=note: print w/ replies, xml ) Need Help??

in reply to Re: Perl oddities
in thread Perl oddities

sleep 2.5;
works if you
use Time::HiRes qw/sleep/;

The alternative

select(undef, undef, undef, 2.5);
looks too much like a hack and isn't very clear.


Update: I can't believe I didn't scroll down to see the existing answers to this question :)

Comment on Re^2: Perl oddities
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://435610]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2014-12-20 09:03 GMT
Find Nodes?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?

    Results (95 votes), past polls