Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Storable

Native Rust implementation built into the interpreter. Runtime: P5. See original documentation for the full Perl reference.

Functions

dclone

deep-clone a data structure.

fd_retrieve

deserialize from a filehandle.

Reads available data from the filehandle in chunks until EOF.

file_magic

inspect file header, return info hashref or undef.

freeze

serialize to a binary PV string.

import

handle use Storable qw(...).

Exports requested functions into the caller’s namespace.

lock_nstore

nstore with flock.

lock_retrieve

retrieve with flock.

lock_store

store with flock.

nfreeze

freeze with network-order prefix byte.

Data is identical to freeze but prefixed with NFREEZE_PREFIX so that read_magic/file_magic can distinguish netorder output.

nstore

store with network-order prefix.

nstore_fd

store_fd with network-order prefix.

preamble

read_magic

inspect in-memory data header, return info hashref or undef.

retrieve

deserialize from a file.

stack_depth

return current recursion limit.

stack_depth_hash

return current hash recursion limit.

store

serialize to a file.

store_fd

serialize to a filehandle.

thaw

deserialize a binary PV back to a data structure.