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 "...XSAWYERX/perl-5.32.0 - 20 Jun 2020 20:38:54 UTC - Search in distribution
Locale::Tie - Get/set locale via (localizeable) variables
This module is inspired by File::chdir, using a tied scalar variable to get/set stuffs. One benefit of this is being able to use Perl's "local" with it, effectively setting something locally....PERLANCAR/Locale-Tie-0.03 - 23 Oct 2014 09:45:42 UTC - Search in distribution
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 - Search in distribution
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 - Search in distribution
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 - Search in distribution
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 - Search in distribution
- Thread::Tie - tie variables into a thread of their own
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 - Search in distribution
- Tie::Filter - Tie a facade around a scalar, array, or hash
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 - Search in distribution
Tie::Scalar::Random - fetch a randomly selected assigned value
05 Jun 2009 04:25:18 UTC
Search in distribution
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 - Search in distribution
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 - Search in distribution
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 - Search in distribution
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 - Search in distribution
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 - Search in distribution
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 - Search in distribution
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 - Search in distribution