---
name: "CPANPLUS::Internals::Source::Memory"
section: "3perl"
platform: "linux"
package: "perl-doc"
version: "5.14.2-21+deb7u3"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/CPANPLUS::Internals::Source::Memory"
---

# CPANPLUS::Internals::Source::Memory(3perl)

In memory implementation

## NAME

CPANPLUS::Internals::Source::Memory - In memory implementation

### $cb-\>\_\_memory\_retrieve\_source(name =\> $name, \[path =\> $path, uptodate =\> BOOL, verbose =\> BOOL\])

This method retrieves a *storable*d tree identified by `$name`.

It takes the following arguments:

- name

  The internal name for the source file to retrieve.

- uptodate

  A flag indicating whether the file-cache is up-to-date or not.

- path

  The absolute path to the directory holding the source files.

- verbose

  A boolean flag indicating whether or not to be verbose.

Will get information from the config file by default.

Returns a tree on success, false on failure.

### $cb-\>\_\_memory\_save\_source(\[verbose =\> BOOL, path =\> $path\])

This method saves all the parsed trees in *storable*d format if `"Storable"` is available.

It takes the following arguments:

- path

  The absolute path to the directory holding the source files.

- verbose

  A boolean flag indicating whether or not to be verbose.

Will get information from the config file by default.

Returns true on success, false on failure.
