Search results for "module:Tie::Scalar"
Tie::Scalar::Epoch - Create a scalar that always returns the number of non-leap seconds since whatever time the system considers to be the epoch.
This is a very simple class that creates readonly scalars that always return the current epoch. A variables tied to this class is readonly, and attempting to assign to it will raise an exception....
VICHOU/Tie-Scalar-Epoch-0.003 - 31 Oct 2012 23:46:59 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
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
Thread::Tie::Scalar - default class for tie-ing scalars to threads
Helper class for Thread::Tie. See documentation there....
LNATION/Thread-Tie-0.15 - 14 Nov 2019 13:37:28 UTC
Tie::Scalar::Random - fetch a randomly selected assigned value
SARTAK/Tie-Scalar-Random-0.02
-
05 Jun 2009 04:25:18 UTC
Tie::Handle::Scalar - Perl extension for tieing a scalar to a filehandle.
WARNING - This ONLY works with perl version 5.6.0< or above. This may be due to interfaces to handles in older versions of perl not being complete ;) Tie::Handle::Scalar allows you to tie a scalar to a filehandle. Supported and unsupported/untested m...
ANWILL/Tie-Handle-Scalar-0.1 - 02 Jul 2001 09:53:58 UTC
Tie::Scalar::Sticky - Just another scalar assignment blocker.
Scalars tie'ed to this module will 'reject' any assignments of undef or the empty string or any of the extra arugments provided to "tie()". It simply removes the need for you to validate assignments, such as: $var = $val unless grep $val eq $_, qw(no...
JEFFA/Tie-Scalar-Sticky-1.13 - 04 Jan 2017 19:52:52 UTC
Tie::Filter::Scalar - Tie a facade around a scalar
Don't use this package directly. Instead, see Tie::Filter....
HANENKAMP/Tie-Filter-1.02 - 19 Dec 2003 05:02:01 UTC
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::Callback - a tied scalar which executes a callback everytime it is used
"Tie::Scalar::Callback" is a class for creating tied scalars which execute a callback everytime an event occurs on the scalar. The callback's return value becomes the scalar's apparent value....
DFARRELL/Tie-Scalar-Callback-0.07 - 01 Oct 2016 14:03:10 UTC
Tie::Scalar::Timestamp - Create a scalar that always returns the current timestamp
This is a very simple class that creates readonly scalars that always return the current timestamp. By default, it uses the format "yyyy-mm-ddThh:mm:ss" (or, in strftime notation, "%Y-%m-%dT%H:%M:%S") and local time. You can optionally pass a hashref...
PEICHMAN/Tie-Scalar-Timestamp-0.01 - 25 Feb 2005 16:14:07 UTC
Tie::Scalar::RingBuffer - Treat a scalar as a ring buffer iterator.
A ring buffer is a queue in which the tail and head are logically connected so that there is effectively no end to the queue. This modules treats a listref as a ring buffer, and creates an iterator for that ring buffer. The iteration is completely hi...
MILLAWAY/Tie-Scalar-RingBuffer-0.04 - 08 Dec 2003 19:42:24 UTC
lib/Tie/Scalar.pm
This module provides some skeletal methods for scalar-tying classes. See perltie for a list of the functions required in tying a scalar to a package. The basic Tie::Scalar package provides a "new" method, as well as methods "TIESCALAR", "FETCH" and "...
RJBS/perl-5.36.0 - 28 May 2022 00:26:10 UTC
lib/Tie/Scalar.pm
This module provides some skeletal methods for scalar-tying classes. See perltie for a list of the functions required in tying a scalar to a package. The basic Tie::Scalar package provides a "new" method, as well as methods "TIESCALAR", "FETCH" and "...
RJBS/perl-5.38.0 - 02 Jul 2023 23:00:28 UTC
Tie::Scalar::MarginOfError - Scalars that have margins of error
This allows you to have a scalar which has to stay within a certain margin of error. Your code will die (or execute what was passed in via the 'callback' subref) if the scalar's value goes outside this range. You tie a variable, and give it an initia...
STRYTOAST/Tie-Scalar-MarginOfError-0.03 - 19 Nov 2003 10:03:18 UTC
Tie::Scalar::Transactional - Implementation of Transactional Scalars
This module implements scalars with transactional capabilities. The functionality is similar to the ones found in most Relation Database Management Systems (RDBMS). A transaction begins under any one of the following conditions: * A new transactional...
UARUN/Tie-Scalar-Transactional-0.01 - 24 Dec 2002 05:31:27 UTC
Type::Tie::Aggregate::Scalar - class to tie arrays for Type::Tie::Aggregate
This class is used to tie arrays. This class is internal to Type::Tie::Aggregate. The "_value" method is overloaded to return and set the referenced scalar, rather than the reference itself. "$obj->_value" is like "${$obj->_ref}"....
ASDAGO/Type-Tie-Aggregate-0.001 - 04 Jun 2021 20:53:16 UTC