Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /proc/self/root/proc/self/root/usr/share/perl5/vendor_perl/Data/Serializer/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/proc/self/root/usr/share/perl5/vendor_perl/Data/Serializer/YAML.pm
package Data::Serializer::YAML;
BEGIN { @Data::Serializer::YAML::ISA = qw(Data::Serializer) }

use warnings;
use strict;
use YAML;
use vars qw($VERSION @ISA);

$VERSION = '0.02';

sub serialize {
    return Dump($_[1]);
}

sub deserialize {
    return Load($_[1]);
}



1;
__END__
#

=head1 NAME

Data::Serializer::YAML - Creates bridge between Data::Serializer and YAML

=head1 SYNOPSIS

  use Data::Serializer::YAML;

=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

Florian Helmberger <fh@laudatio.com>

=head1 COPYRIGHT

  Copyright 2002 by Florian Helmberger.  All rights reserved.
  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(3).

=cut


Hry