#!/usr/bin/perl

package json2php;
BEGIN {
  $json2php::VERSION = '0.01';
} # make PodWeaver happy

use 5.010;
use strict;
use warnings;

use JSON;
use PHP::Serialization qw(serialize);

# VERSION

undef $/;
print serialize(from_json(scalar <>));

__END__
=pod

=head1 NAME

json2php

=head1 VERSION

version 0.01

=head1 AUTHOR

Steven Haryanto <stevenharyanto@gmail.com>

=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

