Tie::Memoize - add data to hash when needed

NAME SYNOPSIS DESCRIPTION Inheriting from *Tie::Memoize* EXAMPLE BUGS AUTHOR NAME Tie::Memoize - add data to hash when needed SYNOPSIS require Tie::Memoize; tie %hash, 'Tie::Memoize', \&fetch, # The rest is optional $DATA, \&exists, {%ini_value}, {%ini_existence}; DESCRIPTION This package allows a tied hash to autoload its values on the first access, and to use the cached value on the following accesses. Only read-accesses (via fetching the value or exists) result in ca

Tie::Hash::NamedCapture - Named regexp capture buffers

NAME SYNOPSIS DESCRIPTION SEE ALSO NAME Tie::Hash::NamedCapture - Named regexp capture buffers SYNOPSIS tie my %hash, "Tie::Hash::NamedCapture"; # %hash now behaves like %+ tie my %hash, "Tie::Hash::NamedCapture", all => 1; # %hash now access buffers from regexp in $qr like %- DESCRIPTION This module is used to implement the special hashes %+ and %- , but it can be used to tie other variables as you choose. When the all parameter is provided, then the tied hash elements will be array ref

Tie::Hash, Tie::StdHash, Tie::ExtraHash - base class definitions for tied hashes

NAME SYNOPSIS DESCRIPTION Inheriting from *Tie::StdHash* Inheriting from *Tie::ExtraHash* SCALAR, UNTIE and DESTROY MORE INFORMATION NAME Tie::Hash, Tie::StdHash, Tie::ExtraHash - base class definitions for tied hashes SYNOPSIS package NewHash; require Tie::Hash; @ISA = qw(Tie::Hash); sub DELETE { ... } # Provides needed method sub CLEAR { ... } # Overrides inherited method package NewStdHash; require Tie::Hash; @ISA = qw(Tie::StdHash); # All methods provide

Tie::Handle - base class definitions for tied handles

NAME SYNOPSIS DESCRIPTION MORE INFORMATION COMPATIBILITY NAME Tie::Handle - base class definitions for tied handles SYNOPSIS package NewHandle; require Tie::Handle; @ISA = qw(Tie::Handle); sub READ { ... } # Provide a needed method sub TIEHANDLE { ... } # Overrides inherited method package main; tie *FH, 'NewHandle'; DESCRIPTION This module provides some skeletal methods for handle-tying classes. See perltie for a list of the functions required in tying a handle to a package. The basic

Tie::File - Access the lines of a disk file via a Perl array

NAME SYNOPSIS DESCRIPTIONrecsep autochomp mode memory dw_size Option Format Public Methodsflock autochomp defer, flush, discard, and autodefer offset Tying to an already-opened filehandle Deferred WritingAutodeferring CONCURRENT ACCESS TO FILES CAVEATS SUBCLASSING WHAT ABOUT DB_File? AUTHOR LICENSE WARRANTY THANKS TODO NAME Tie::File - Access the lines of a disk file via a Perl array SYNOPSIS # This file documents Tie::File version 0.98 use Tie::File; tie @array, 'Tie::File', filename o

Tie::Array - base class for tied arrays

NAME SYNOPSIS DESCRIPTION CAVEATS AUTHOR NAME Tie::Array - base class for tied arrays SYNOPSIS package Tie::NewArray; use Tie::Array; @ISA = ('Tie::Array'); # mandatory methods sub TIEARRAY { ... } sub FETCH { ... } sub FETCHSIZE { ... } sub STORE { ... } # mandatory if elements writeable sub STORESIZE { ... } # mandatory if elements can be added/deleted sub EXISTS { ... } # mandatory if exists() expected to work sub DELETE { ... } # mandatory if delete() expected to work

tie

tie VARIABLE,CLASSNAME,LIST This function binds a variable to a package class that will provide the implementation for the variable. VARIABLE is the name of the variable to be enchanted. CLASSNAME is the name of a class implementing objects of correct type. Any additional arguments are passed to the appropriate constructor method of the class (meaning TIESCALAR , TIEHANDLE , TIEARRAY , or TIEHASH ). Typically these are arguments such as might be passed to the dbm_open() function of C. The objec

threads::shared - Perl extension for sharing data structures between threads

NAME VERSION SYNOPSIS DESCRIPTION EXPORT FUNCTIONS OBJECTS NOTES WARNINGS BUGS AND LIMITATIONS SEE ALSO AUTHOR LICENSE NAME threads::shared - Perl extension for sharing data structures between threads VERSION This document describes threads::shared version 1.48 SYNOPSIS use threads; use threads::shared; my $var :shared; my %hsh :shared; my @ary :shared; my ($scalar, @array, %hash); share($scalar); share(@array); share(%hash); $var = $scalar_value; $var = $shared_ref_value; $var = shared_cl

threads - Perl interpreter-based threads

NAME VERSION WARNING SYNOPSIS DESCRIPTION EXITING A THREAD THREAD STATE THREAD CONTEXTExplicit context Implicit context $thr->wantarray() threads->wantarray() THREAD STACK SIZE THREAD SIGNALLING WARNINGS ERRORS BUGS AND LIMITATIONS REQUIREMENTS SEE ALSO AUTHOR LICENSE ACKNOWLEDGEMENTS NAME threads - Perl interpreter-based threads VERSION This document describes threads version 2.01 WARNING The "interpreter-based threads" provided by Perl are not the fast, lightweight system for multit

Thread::Semaphore - Thread-safe semaphores

NAME VERSION SYNOPSIS DESCRIPTION METHODS NOTES SEE ALSO MAINTAINER LICENSE NAME Thread::Semaphore - Thread-safe semaphores VERSION This document describes Thread::Semaphore version 2.12 SYNOPSIS use Thread::Semaphore; my $s = Thread::Semaphore->new(); $s->down(); # Also known as the semaphore P operation. # The guarded section is here $s->up(); # Also known as the semaphore V operation. # Decrement the semaphore only if it would immediately succeed. if ($s->down_nb()) {