Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Use dpath to filter metacpan query results
curl -s -XPOST http://api.metacpan.org/release/_search -d'{ "query": { "match_all": {} }, "size": 999, "fields": ["download_url"], "filter": { "term": { "distribution": "MooseX-NonMoose" } } }' | dpath -i json -o flat '//download_url'
@ctaulien

This comment has been minimized.

Copy link

commented May 13, 2016

hi steffen, dpath als cpan-modul habe ich, aber so wie du es aufrufst scheints ne command variante (.sh oder so) zu geben.

@ctaulien

This comment has been minimized.

Copy link

commented May 13, 2016

ok i found App::DPath 👍

@renormalist

This comment has been minimized.

Copy link
Owner Author

commented May 20, 2016

Oh, und ich hab nicht gesehen, dass hier einer kommentiert, meine github notification settings scheinen fragil...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.