![]() |
![]()
| ![]() |
![]()
NAMEStorable::AMF3 - serializing/deserializing AMF3 data SYNOPSISuse Storable::AMF3 qw(freeze thaw); $amf3 = freeze($perl_object); $perl_object = thaw($amf3); # Store/retrieve to disk amf3 data store $perl_object, 'file'; $restored_perl_object = retrieve 'file'; use Storable::AMF3 qw(nstore freeze thaw dclone); # Advisory locking use Storable::AMF3 qw(lock_store lock_nstore lock_retrieve) lock_store \%table, 'file'; lock_nstore \%table, 'file'; $hashref = lock_retrieve('file'); # Deparse one object use Storable::AMF0 qw(deparse_amf); my( $obj, $length_of_packet ) = deparse_amf( my $bytea = freeze($a1) . freeze($a) ... ); - or - $obj = deparse_amf( freeze($a1) . freeze($a) ... ); DESCRIPTIONThis module is (de)serializer for Adobe's AMF3 (Action Message Format ver 3). This is only module and it recognize only AMF3 data. Almost all function implemented in C for speed. And some cases faster then Storable( for me always) EXPORTNone by default. FUNCTIONS
LIMITATIONAt current moment and with restriction of AMF0/AMF3 format referrences to scalar are not serialized, and can't/ may not serialize tied variables. SEE ALSOData::AMF, Storable, Storable::AMF3, Storable::AMF AUTHORAnatoliy Grishaev, <grian at cpan dot org> THANKSAlberto Reggiori. ( basic externalized object support ) Adam Lounds. ( tests and some ideas and code for boolean support ) COPYRIGHT AND LICENSECopyright (C) 2011 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.
|