libtime-stopwatch-perl | Use tied scalars as timers | Mehr ...
The Time::Stopwatch module provides a convenient interface to timing functions through tied scalars. From the point of view of the user, scalars tied to the module simply increase their value by one every second.