In the thread CPAN Testers command-line viewer, it was suggested I release the script on CPAN. Well, now it's on CPAN, but not as a standalone script - it's part of p5u.

p5u is a command-line script which acts as a single point of entry for several different Perl and CPAN related utilities. The cool thing about p5u is that it's pluggable, so you can write your own P5U commands for local use, or publish them on CPAN. (A template command module is provided.)

Here's some examples of what can be done with p5u...

Hmmm... what version of the HTML::HTML5::Entities module is installed?

$ p5u version HTML::HTML5::Entities HTML::HTML5::Entities /opt/perl-5.16.0/lib/site_perl/5.16.0/HTML/HTML5/Entities.pm: 0.0 +03

How is that version doing on CPAN Testers?

$ p5u testers HTML::HTML5::Entities CPAN Testers results for HTML-HTML5-Entities version 0.003 PASS FAIL ETC Perl 5.006 0 0 1 Perl 5.008 6 0 0 Perl 5.010 18 0 0 Perl 5.012 40 0 0 Perl 5.014 24 0 0 Perl 5.016 9 0 0 Perl 5.017 6 0 0

Let's run the HTML-HTML5-Entities test suite against my currently installed copy of the module

$ p5u reprove HTML::HTML5::Entities Reproving HTML-HTML5-Entities/0.003 (TOBYINK) t/01basic.t ..... ok t/02encoding.t .. ok t/03decoding.t .. ok All tests successful. Files=3, Tests=16, 1 wallclock secs ( 0.14 usr 0.02 sys + 0.65 cusr 0.02 csys = 0.83 CPU) Result: PASS
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

In reply to Announcing "p5u" by tobyink

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.