from small one page howto to huge articles all in one place
 

search text in:





Poll
Which kernel version do you use?





poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

195651

userrating:

average rating: 1.7 (102 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

252057

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

140922

userrating:

average rating: 1.4 (42 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





Git::SVN::Memoize::YAML

Section: User Contributed Perl Documentation (3)
Updated: 2016-11-29
Index Return to Main Contents
 

NAME

Git::SVN::Memoize::YAML - store Memoized data in YAML format  

SYNOPSIS

    use Memoize;
    use Git::SVN::Memoize::YAML;

    tie my %cache => 'Git::SVN::Memoize::YAML', $filename;
    memoize('slow_function', SCALAR_CACHE => [HASH => \%cache]);
    slow_function(arguments);

 

DESCRIPTION

This module provides a class that can be used to tie a hash to a YAML file. The file is read when the hash is initialized and rewritten when the hash is destroyed.

The intent is to allow Memoize to back its cache with a file in YAML format, just like Memoize::Storable allows Memoize to back its cache with a file in Storable format. Unlike the Storable format, the YAML format is platform-independent and fairly stable.

Carps on error.  

DIAGNOSTICS

See YAML::Any.  

DEPENDENCIES

YAML::Any from CPAN.  

INCOMPATIBILITIES

None reported.  

BUGS

The entire cache is read into a Perl hash when loading the file, so this is not very scalable.


 

Index

NAME
SYNOPSIS
DESCRIPTION
DIAGNOSTICS
DEPENDENCIES
INCOMPATIBILITIES
BUGS





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 15.9 ms