Group
Extension

Matches 2

IPC-Run3-Shell ( H/HA/HAUKEX/IPC-Run3-Shell-0.58.tar.gz, HAUKEX, 2020; MetaCPAN )
IPC-Run3-Shell/lib/IPC/Run3/Shell.pod ( view source; MetaCPAN )
puts JSON, you can turn
the output from that command into a Perl data structure like this
(this is just a demonstration using C<echo> that passes its input
through):

 use JSON::PP qw/encode_json deco
l [ foo => { fail_on_stderr => 1,
     stdout_filter => sub { $_=decode_json($_) } }, qw/ echo / ];
 
 my $foo = foo( encode_json( { test=>'123' } ) );
 print $foo->{test}, "\n"; # prints "123"

=for 
IPC-Run3-Shell ( H/HA/HAUKEX/IPC-Run3-Shell-0.58.tar.gz, HAUKEX, 2020; MetaCPAN )
IPC-Run3-Shell/lib/IPC/Run3/Shell/CLIWrapper.pm ( view source; MetaCPAN )
se JSON::PP qw/decode_json/;
 my $s3api = IPC::Run3::Shell::CLIWrapper->new( { fail_on_stderr => 1,
     stdout_filter => sub { $_=decode_json($_) } },
     qw/ aws --profile MyProfile --output json s

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.