diff options
-rwxr-xr-x | script/perlpkg.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/perlpkg.pl b/script/perlpkg.pl index 195adc9..c78a05e 100755 --- a/script/perlpkg.pl +++ b/script/perlpkg.pl @@ -8,6 +8,7 @@ use strict; use Function::Parameters; use Log::Any::Adapter; use Log::Log4perl qw(:easy); +use JSON; use App::ArchLinux::PackagerTools; @@ -54,7 +55,7 @@ use Data::Dumper; my $filtered_pkgs = $app->get_filtered_updateable_packages(); -print Dumper($filtered_pkgs); +print encode_json($filtered_pkgs); # TODO generate new pacakge pkgbuild # TODO build |