Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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 having an uproarious good time at the Monastery: (3)
As of 2016-02-13 15:34 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (437 votes), past polls