warnings;
our $VERSION = '1.20180106'; # VERSION
use Carp;
use IO::Handle;
use IO::Select;
use JSON;
use English qw( -no_match_vars );
my $DEBUG = 0;
sub new {
my ( $Class, $Args ) = @_;
my $Data = eval { decode_json($Value) };
return $Data;
}
sub Send {
my ( $Self, $fh, $Value ) = @_;
$Value->{'pid'} = $PID;
my $Encoded = encode_json($Value);
print $fh "$En
d
IPC Send.
=back
=head1 JSON
Note: All communication between the parent and a child are serialised using JSON.pm, please
be aware of the data type restrictions of JSON serialisation.
=head1 DEPE