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

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

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 0.01   Source  

NAME ^

Python::Serialize::Pickle::InlinePython - handle pickled data with Inline::Python

SYNOPSIS ^

    use Data::Dumper;
    use Python::Serialize::Pickle::InlinePython;

    # load it
    my $pic = Python::Serialize::Pickle::InlinePython->new('data.pickle');
    while (my $dat = $pic->load()) {
        warn Dumper($dat);
    }

    # dump it
    my $pic = Python::Serialize::Pickle::InlinePython->new('>data.pickle');
    $pic->dump('foo');
    $pic->dump('bar');
    $pic->close();

DESCRIPTION ^

Python::Serialize::Pickle::InlinePython is a python's pickle data serializer/deserializer using Inline::Python.

This module has same interface with Python::Serialize::Pickle.Python::Serialize::Pickle is no longer maintained, does not works with newer version of Python.

ALTERNATIVES ^

You could always dump the data structure out as YAML in Python and then read it back in with YAML in Perl.

AUTHOR ^

Tokuhiro Matsuno <tokuhirom slkjfd gmail.com>

SEE ALSO ^

Python::Serialize::Pickle

LICENSE ^

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: