Dancer::Serializer::UUEncode - UU Encoding serializer for Dancer
version 0.02
# in your Dancer app: setting serializer => 'UUEncode'; # or in your Dancer config file: serializer: 'UUEncode'
This serializer serializes your data structure to UU Encoding. Since UU Encoding is just encoding and not a serialization format, it first freezes it using Storable and only then serializes it.
It uses Storable's nfreeze and thaw functions.
nfreeze
thaw
An initializer that is called automatically by Dancer.
Runs loaded.
loaded
Lazily loads Storable and imports the appropriate functions.
Serializes a given data to UU encoding after freezing it with Storable.
Deserializes a given data from UU encoding after thawing it with Storable.
Helper function to create a new Dancer::Serializer::UUEncode object and run serialize.
serialize
Helper function to create a new Dancer::Serializer::UUEncode object and run deserialize.
deserialize
Returns the content type of UU encode which is text/uuencode.
The Dancer Advent Calendar 2010.
Sawyer X <xsawyerx@cpan.org>
This software is copyright (c) 2010 by Sawyer X.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dancer::Serializer::UUEncode, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer::Serializer::UUEncode
CPAN shell
perl -MCPAN -e shell install Dancer::Serializer::UUEncode
For more information on module installation, please visit the detailed CPAN module installation guide.