logo

ap-client

Unnamed repository; edit this file 'description' to name the repository.
commit: 0af5d1accd368b668fc89d1038d9cb3fded854cd
parent: a6cf9d07fa3ab7cc6a400c173658c08cfe821ed4
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed,  6 May 2020 00:09:58 +0200

ap-represent.pl: STDIN slurp mode

Diffstat:

Map-represent.pl6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/ap-represent.pl b/ap-represent.pl @@ -65,6 +65,10 @@ sub print_ref { } } -my $blob = $json->decode(<STDIN>); +my $blob; +{ + undef $/; + $blob = $json->decode(<STDIN>); +} print_object(1, $blob);