Storable::AMF - Perl extension for serialize/deserialize AMF date
use Storable::AMF qw(freeze thaw); store \%table, 'file'; $hashref = retrieve('file'); use Storable::AMF qw(nstore store_fd nstore_fd freeze thaw dclone); # Network order: always store in network order # and nstore and store are synonyms nstore \%table, 'file'; $hashref = retrieve('file'); # There is NO nretrieve() # Serializing to memory $serialized = freeze \%table; %table_clone = %{ thaw($serialized) }; # Advisory locking use Storable::AMF qw(lock_store lock_nstore lock_retrieve) lock_store \%table, 'file'; lock_nstore \%table, 'file'; $hashref = lock_retrieve('file');
This module is (de)serializer for Adobe's AMF (Action Message Format). This is only module and it recognize only AMF data. Core function implemented in C. And some cases faster then Storable( for me alwaye)
None by default.
Storable::AMF is currently is very alpha development stage/ This current version is not support AMF3.
At current moment freeze not support for nested reference in object and utf8 string not marked by default. It not serialize tied variables.
Data::AMF, Storable
Anatoliy Grishaev, <grian at cpan dot org>
Copyright (C) 2008 by A. G. Grishaev
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install Storable::AMF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Storable::AMF
CPAN shell
perl -MCPAN -e shell install Storable::AMF
For more information on module installation, please visit the detailed CPAN module installation guide.