Data::Format::Pretty::PHP - Pretty-print data structure as PHP code
version 0.03
use Data::Format::Pretty::PHP qw(format_pretty); print format_pretty($data);
Some example output:
format_pretty({a=>1, b=>2})
array( "a" => 1, "b" => 2 )
This module uses Data::Dump::PHP to encode data as PHP code.
Return formatted data structure. Currently there are no known formatting options.
Data::Format::Pretty
Data::Format::Pretty::PHPSerialized
Steven Haryanto <stevenharyanto@gmail.com>
This software is copyright (c) 2012 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.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Data::Format::Pretty::PHP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Format::Pretty::PHP
CPAN shell
perl -MCPAN -e shell install Data::Format::Pretty::PHP
For more information on module installation, please visit the detailed CPAN module installation guide.