The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Search results for "Tie::Scalar"

lib/Tie/Scalar.pm River stage five • 11292 direct dependents • 32664 total dependents

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 - Search in distribution

Locale::Tie - Get/set locale via (localizeable) variables River stage one • 2 direct dependents • 2 total dependents

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::NoOp - Tied scalar that does nothing River stage zero No dependents

This class implements a tied scalar that does nothing. For benchmark purposes....

PERLANCAR/Tie-Scalar-NoOp-0.001 - 26 Dec 2023 04:53:16 UTC - Search in distribution

Tie::Redis::Scalar River stage zero No dependents

DGL/Tie-Redis-0.26 - 11 Apr 2013 15:32:57 UTC - Search in distribution

Tie::Scalar::Decay - Scalar variables that decay River stage zero No dependents

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. River stage zero No dependents

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. River stage zero No dependents

"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 River stage one • 2 direct dependents • 5 total dependents

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 River stage zero No dependents

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. River stage two • 2 direct dependents • 17 total dependents

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 River stage zero No dependents

SARTAK/Tie-Scalar-Random-0.02 - 05 Jun 2009 04:25:18 UTC - Search in distribution

Tie::Scalar::Sticky - Just another scalar assignment blocker. River stage zero No dependents

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.14 - 27 Jan 2024 18:43:56 UTC - Search in distribution

Tie::Simple::Scalar River stage two • 8 direct dependents • 91 total dependents

HANENKAMP/Tie-Simple-1.04 - 28 Nov 2015 17:24:27 UTC - Search in distribution

Scalar::Boolean::Tie River stage zero No dependents

HAGGAI/Scalar-Boolean-1.02 - 05 Mar 2012 18:00:15 UTC - Search in distribution

Tie::Scalar::Timeout - Scalar variables that time out River stage zero No dependents

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

DWH_File::Tie::Scalar River stage zero No dependents

SUMUS/DWH_File-0.24 - 31 Mar 2003 18:26:30 UTC - Search in distribution

Tie::Scalar::Callback - a tied scalar which executes a callback everytime it is used River stage zero No dependents

"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 River stage zero No dependents

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. River stage zero No dependents

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 River stage zero No dependents

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
595 results (0.178 seconds)