Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: cpanr - view cpan ratings from the command line ( ojo::g )

by marto (Cardinal)
on Oct 06, 2016 at 09:22 UTC ( [id://1173387]=note: print w/replies, xml ) Need Help??


in reply to Re: cpanr - view cpan ratings from the command line ( ojo::g )
in thread cpanr - view cpan ratings from the command line

Fantastic feedback, thanks. I was unaware of ojo. I'll definitely look at using this going forward.

  • Comment on Re^2: cpanr - view cpan ratings from the command line ( ojo::g )

Replies are listed 'Best First'.
Re^3: cpanr - view cpan ratings from the command line ( ojo::g )
by Your Mother (Archbishop) on Oct 06, 2016 at 23:04 UTC

    You probably realized already but it’s to facilitate one-liners. And it actually led me to find what I believe to be a bug in the text handing of Mojo. In my view, all_text and text should find the alt info in images. In this case it would have shown the star ratings which would have been a nice DWIW. :P

    perl -Mojo -E 'say $_->all_text, $/ for g("http://cpanratings.perl.org +/dist/" . +shift=~s/::/-/r)->dom->find(".review")->each' CGI perl -Mojo -E 'say $_->all_text, $/ for g("http://cpanratings.perl.org +/dist/" . +shift=~s/::/-/r)->dom->find(".review")->each' Mojolicious

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1173387]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-18 12:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found