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

Name

Connector::Builtin::Memory

Description

A connector implementation to allow memory based caching

Parameters

LOCATION

Not used

primary_attribute

If your data consists of hashes as leaf nodes, set this to the name of the node that is considered the primary attribute, e.g. the name of a person. If you now access the key on the penultimate level using get you will receive the value of this attribute back.

    user1234:
        name: John Doe
        email: john.doe@acme.com

When you call get(user1234) on this structure, the connector will usually die with a "not a scalar" error. With primary_attribute = name you will get back John Doe.