Ariel Brosh (PAUSE Custodial Account)

NAME

Data::ENAML - Perl extension for ENAML data representation

SYNOPSIS

  use Data::ENAML qw (serialize deserialize);

  print serialize('login' => {'nick' => 'Schop', 
        'email' => 'ariel@atheist.org.il', 
        'tagline' => 'If I had no modem I would not lose Regina'});

  $struct = deserialize('bad-nick: {nick: "c00l dewd" text: "spaces not allowed"}');

OVERVIEW

ENAML stands for ENAML is Not A Markup Language. (And as we all know, Gnu is Not UNIX, Pine Is Not Email, Wine Is Not Emulator, Lame Ain't Mp3 Encoder and so on).

ENAML was defined by Robey Pointer for use in Say2, check http://www.lag.net/say2.

CREDITS

Robey Pointer has an ENAML module, but I couldn't find it in CPAN. Differences between the modules (besides the different API) include:

  • Data::ENAML will marshall blessed objects.

  • Data::ENAML does not convert UTF-8, and does not automatically assume Latin-1 charset.

  • Data::ENAML represents unassigned properties by undef and not a NULL character.

TODO

Support UTF-8. Robey's module assumes automatically Latin character set. Nu, Ivrit Kasha Saffa!

AUTHOR

Ariel Brosh, schop@cpan.org

SEE ALSO

perl(1), Net::IRC.

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 201:

'=item' outside of any '=over'

Around line 215:

You forgot a '=back' before '=head1'