Search results for "module:Tie::Scalar::Timeout"
Tie::Scalar::Timeout - Scalar variables that time out
This module allows you to tie a scalar variable whose value will be reset (subject to an expiration policy) after a certain time and/or a certain number of uses. One possible application for this module might be to time out session variables in mod_p...MARCEL/Tie-Scalar-Timeout-2.101420 - 22 May 2010 11:23:42 UTC
Tie::Scalar::Decay - Scalar variables that decay
This module allows you to tie a scalar variable whose value will change regularly with time. The default behaviour is for numeric values to halve every time period (a la radioactive decay) and for non-numeric values to be unchanged. You can specify a...DCANTRELL/Tie-Scalar-Decay-1.1.1 - 21 May 2001 22:18:13 UTC
Tie::Scalar::Ratio - a scalar which multiplies in value every time it is accessed.
"Tie::Scalar::Ratio" is a class for creating tied scalars which multiply their value by a ratio everytime their value is read. I found this a useful way to make a "retry()" function increase its sleep duration after every attempt, without re-writing ...DFARRELL/Tie-Scalar-Ratio-0.01 - 22 Jan 2016 04:03:19 UTC