-
-
22 Nov 2013 11:43:11 UTC
- Distribution: Data-Format-Pretty-PHPSerialization
- Module version: 0.03
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (0)
- Testers (2791 / 0 / 9)
- Kwalitee
Bus factor: 1- 84.62% Coverage
- License: perl_5
- Perl: v5.10.1
- Activity
24 month- Tools
- Download (12.22KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors-
Steven Haryanto
- NAME
- VERSION
- SYNOPSIS
- DESCRIPTION
- FUNCTIONS
- SEE ALSO
- HOMEPAGE
- SOURCE
- BUGS
- AUTHOR
- COPYRIGHT AND LICENSE
NAME
Data::Format::Pretty::PHPSerialization - Pretty-print data structure as PHP serialization format
VERSION
version 0.03
SYNOPSIS
use Data::Format::Pretty::PHPSerialization qw(format_pretty); print format_pretty($data);
Some example output:
format_pretty({a=>1, b=>2})
a:2:{s:1:"a";i:1;s:1:"b";i:2;}
DESCRIPTION
This module uses PHP::Serialization to encode data as PHP serialization format, which I frankly wouldn't call as a "pretty" format, but added for completeness sake (used by e.g. Perinci::Access::HTTP::Server).
FUNCTIONS
format_pretty($data, \%opts)
Return formatted data structure as PHP serialization format. Currently there are no known options.
SEE ALSO
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/Data-Format-Pretty-PHPSerialization.
SOURCE
Source repository is at https://github.com/sharyanto/perl-Data-Format-Pretty-PHPSerialization.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Data-Format-Pretty-PHPSerialization
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
AUTHOR
Steven Haryanto <stevenharyanto@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install Data::Format::Pretty::PHPSerialization, copy and paste the appropriate command in to your terminal.
cpanm Data::Format::Pretty::PHPSerialization
perl -MCPAN -e shell install Data::Format::Pretty::PHPSerialization
For more information on module installation, please visit the detailed CPAN module installation guide.