SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Tie-Scalar-Timeout rpm build for : OpenSuSE. For other distributions click perl-Tie-Scalar-Timeout.

Name : perl-Tie-Scalar-Timeout
Version : 2.101420 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp156.6.1 Date : 2024-07-03 19:16:33
Group : Development/Libraries/Perl Source RPM : perl-Tie-Scalar-Timeout-2.101420-lp156.6.1.src.rpm
Size : 0.03 MB
Packager : https://www_suse_com/
Summary : Scalar variables that time out
Description :
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_perl programs.

When tying, you can specify named arguments in the form of a hash. The
following named parameters are supported:

* \'EXPIRES\'

Use \'EXPIRES\' to specify an interval or absolute time after which the
value will be reset. (Technically, the value will still be there, but the
module\'s FETCH sub will return the value as dictated by the expiration
policy.)

Values for the \'EXPIRES\' field are modeled after Netscape\'s cookie
expiration times. Except, of course, that negative values don\'t really
make sense in a universe with linear, one-way time. The following forms
are all valid for the \'EXPIRES\' field:

+30s 30 seconds from now
+10m ten minutes from now
+1h one hour from now
+3M in three months
+10y in ten years time
25-Apr-2001 00:40:33 at the indicated time & date

Assigning a value to the variable causes \'EXPIRES\' to be reset to the
original value.

* \'VALUE\'

Using the \'VALUE\' hash key, you can specify an initial value for the
variable.

* \'NUM_USES\'

Alternatively or in addition to \'EXPIRES\', you can also specify a maximum
number of times the variable may be read from before it expires. If both
\'EXPIRES\' and \'NUM_USES\' are set, the variable will expire when either
condition becomes true. If \'NUM_USES\' isn\'t set or set to a negative
value, it won\'t influence the expiration process.

Assigning a value to the variable causes \'NUM_USES\' to be reset to the
original value.

* \'POLICY\'

The expiration policy determines what happens to the variable\'s value
when it expires. If you don\'t specify a policy, the variable will be
\'undef\' after it has expired. You can specify either a scalar value or a
code reference as the value of the \'POLICY\' parameter. If you specify a
scalar value, that value will be returned after the variable has expired.
Thus, the default expiration policy is equivalent to

POLICY => undef

If you specify a code reference as the value of the \'POLICY\' parameter,
that code will be called when the variable value is \'FETCH()\'ed after it
has expired. This might be used to set some other variable, or reset the
variable to a different value, for example.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.6/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Tie-Scalar-Timeout-2.101420-lp156.6.1.noarch.rpm
     

Provides :
perl(Tie::Scalar::Timeout)
perl-Tie-Scalar-Timeout

Requires :
perl(:MODULE_COMPAT_5.26.1)
perl(parent)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Tie
/usr/lib/perl5/vendor_perl/5.26.1/Tie/Scalar
/usr/lib/perl5/vendor_perl/5.26.1/Tie/Scalar/Timeout.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Tie-Scalar-Timeout
/usr/share/doc/packages/perl-Tie-Scalar-Timeout/Changes
/usr/share/doc/packages/perl-Tie-Scalar-Timeout/LICENSE
/usr/share/doc/packages/perl-Tie-Scalar-Timeout/README
/usr/share/man/man3/Tie::Scalar::Timeout.3pm.gz

 
ICM