#!/usr/bin/perl package php2yaml; BEGIN { $php2yaml::VERSION = '0.02'; } # make PodWeaver happy use 5.010; use strict; use warnings; use YAML::Syck; $YAML::Syck::ImplicitTyping = 1; use PHP::Serialization qw(unserialize); # VERSION undef $/; print Dump(unserialize(scalar <>)); 1; #ABSTRACT: Convert PHP to YAML serialization __END__ =pod =head1 NAME php2yaml - Convert PHP to YAML serialization =head1 VERSION version 0.02 =head1 AUTHOR Steven Haryanto =head1 COPYRIGHT AND LICENSE This software is copyright (c) 2011 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. =cut