| Data-Serializer documentation | Contained in the Data-Serializer distribution. |
Data::Serializer::YAML - Creates bridge between Data::Serializer and YAML
use Data::Serializer::YAML;
Module is used internally to Data::Serializer
Florian Helmberger <fh@laudatio.com>
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.
perl(1), Data::Serializer(3), YAML(3).
| Data-Serializer documentation | Contained in the Data-Serializer distribution. |
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__ #