GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GIT::SVN::MEMOIZE::YAML (3)

.ds Aq ’

NAME

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

CONTENTS

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.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 GIT::SVN::MEMOIZE::YAML (3) 2016-03-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.