works if yousleep 2.5;
use Time::HiRes qw/sleep/;
The alternative
looks too much like a hack and isn't very clear.select(undef, undef, undef, 2.5);
/J
Update: I can't believe I didn't scroll down to see the existing answers to this question :)
In reply to Re^2: Perl oddities
by jplindstrom
in thread Perl oddities
by brian_d_foy
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |