Manual

- Overview
- Tutorials
- FAQs
- History / Changes
- License

Reference

- Language
- Functions
- Operators
- Special Variables
- Pragmas
- Utilities
- Internals
- Platform Specific

Modules

- A • B • C • D • E
- F • G • H • I • L
- M • N • O • P • S
- T • U • X

News / Blogs

- Perl Buzz
- Perl Iron Man
- Perlsphere
- Planet Perl
- TPF news
- Use Perl

See also

- CPAN
- Perl.org
- Perl.com
- Perl 5 Wiki
- Perl Jobs
- Perl Mongers
- Perl Monks

Contact

- Site designed and maintained by Jon Allen (JJ)
- http://perl.jonallen.info

- View the project page and FAQs

# CPANPLUS::Internals::Source::Memory

Perl 5 version 10.1 documentation
Go to top • Show page index • Download PDF

# CPANPLUS::Internals::Source::Memory

- NAME
  - $cb->__memory_retrieve_source(name => $name, [path => $path, uptodate => BOOL, verbose => BOOL])
  - $cb->__memory_save_source([verbose => BOOL, path => $path])

# NAME

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

## $cb->__memory_retrieve_source(name => $name, [path => $path, uptodate => BOOL, verbose => BOOL])

This method retrieves a storabled 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 storabled 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.

Page index

- NAME
  - $cb->__memory_retrieve_source(name => $name, [path => $path, uptodate => BOOL, verbose => BOOL])
  - $cb->__memory_save_source([verbose => BOOL, path => $path])

Recently read

Tools

- Preferences