Python::Serialize::Pickle::InlinePython - handle pickled data with Inline::Python
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();
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.
You could always dump the data structure out as YAML in Python and then read it back in with YAML in Perl.
Tokuhiro Matsuno <tokuhirom slkjfd gmail.com>
Python::Serialize::Pickle
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Python::Serialize::Pickle::InlinePython, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Python::Serialize::Pickle::InlinePython
CPAN shell
perl -MCPAN -e shell install Python::Serialize::Pickle::InlinePython
For more information on module installation, please visit the detailed CPAN module installation guide.