Data::ENAML - Perl extension for ENAML data representation


Data-ENAML documentation  | view source Contained in the Data-ENAML distribution.

Index


NAME

Top

Data::ENAML - Perl extension for ENAML data representation

SYNOPSIS

Top

  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

Top

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

Top

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

Top

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

AUTHOR

Top

Ariel Brosh, schop@cpan.org

SEE ALSO

Top

perl(1), Net::IRC.


Data-ENAML documentation  | view source Contained in the Data-ENAML distribution.