Skip to content

symkat/App-pq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NAME

App::pq - Like jq and gq, but with Perl

INSTALL

cpanm App::pq

SYNOPSIS

With no arguments, dump the JSON data structure from STDIN as a Perl data structure.

$ echo '{"foo":[1,2,3],"bar":"blee"}' | pq
$VAR1 = {
          'bar' => 'blee',
          'foo' => [
                     1,
                     2,
                     3
                   ]
        };

With an argument, process the argument as code with $j as the perl data structure.

$ echo '{"foo":[1,2,3],"bar":"blee"}' | pq 'print join "\n",  keys %$j'
foo
bar

AUTHOR

Kaitlyn Parkhurst (SymKat) symkat@symkat.com ( Blog: http://symkat.com/ )

COPYRIGHT

Copyright (c) 2022 the App::pq "AUTHOR", "CONTRIBUTORS", and "SPONSORS" as listed above.

LICENSE

This library is free software and may be distributed under the same terms as perl itself.

AVAILABILITY

The most current version of App::pq can be found at https://github.com/symkat/App-pq

About

Like jq and gq, but with Perl

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages