MATSUNO★Tokuhiro > Python-Serialize-Pickle-InlinePython-0.01 > Python::Serialize::Pickle::InlinePython::Functions

Download:
Python-Serialize-Pickle-InlinePython-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Source  

NAME ^

Python::Serialize::Pickle::InlinePython::Functions - functional version of pickle serializer/deserializer

SYNOPSIS ^

    use Python::Serialize::Pickle::InlinePython::Functions;
    my $serialized = Dump([1,2,3]);
    Load($serialized);

    DumpFile("foo.pickle", [1,2,3]);
    LoadFile("foo.pickle");

METHODS ^

Dump($obj)

dump object to memory

Load($serialized)

load serialized data from memory

DumpFile($fname, $obj)

dump data to file

LoadFile($fname)

load data from file

AUTHORS ^

Tokuhiro Matsuno

SEE ALSO ^

Python::Serialize::Pickle::InlinePython

syntax highlighting: