it's Time::HiRes (not Timer::HiRes.) if you don't want to add the overhead of a module, you can use select, as in select('','','',$time); instead.
- It would be nice to have finer granularity than 1 sec. probably Timer::HiRes can do here something.
~Particle *accelerates*
In reply to Re^3: Builtin Watchdog for a sub (or block)
by particle
in thread Builtin Watchdog for a sub (or block)
by PetaMem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |