[ABE.pm] YAML module?

Faber Fedor faber at linuxnj.com
Tue Jul 10 18:44:12 PDT 2007


On 7/10/07, Ricardo SIGNES <rjbs-perl-abe at lists.manxome.org> wrote:
> * Faber Fedor <faber at linuxnj.com> [2007-07-10T18:05:58]
> > > What ever suggests using two different modules?
> >
> > YAML::Load and YAML::Dump mentioned in the YAML docs, of course.
>
> Those are subroutines, not modules.
>
>   my @data = YAML::Load($yaml_string);
>   my $yaml = YAML::Dump(@data);
>
> Those call the Load and Dump subs in the YAML package, respectively.

>From the docs "The real work is done by the modules YAML::Dumper and
YAML::Loader." That's where I got the idea.

Anywho, even YAML is going to be overkill for this script; I'm just
going to create an array.

--

Faber


More information about the ABE-pm mailing list