Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

Oh yes, I suppose I should have mentioned p5u, given that I wrote it. Sample output:

$ p5u v LWP::UserAgent LWP::UserAgent /home/tai/.perlbrew/libs/perl-5.16.2@default/lib/perl5/LWP/UserAge +nt.pm: 6.04

Or show the versions available on the CPAN:

$ p5u v -c LWP::UserAgent LWP::UserAgent cpan:GAAS/LWP5emu-0.01_01.tar.gz#lib/LWP/UserAgent.pm: 0.01_01 (19 +98-04-24T19:34:25.000Z) cpan:GAAS/libwww-perl-5.834.tar.gz#lib/LWP/UserAgent.pm: 5.834 (20 +09-11-21T13:09:14.000Z) cpan:GAAS/libwww-perl-5.835.tar.gz#lib/LWP/UserAgent.pm: 5.835 (20 +10-05-05T21:13:47.000Z) cpan:GAAS/libwww-perl-5.836.tar.gz#lib/LWP/UserAgent.pm: 5.836 (20 +10-05-13T07:34:58.000Z) cpan:GAAS/libwww-perl-5.837.tar.gz#lib/LWP/UserAgent.pm: 5.837 (20 +10-09-20T21:24:38.000Z) cpan:GAAS/libwww-perl-6.00.tar.gz#lib/LWP/UserAgent.pm: 6.00 (2011 +-03-08T19:25:05.000Z) cpan:GAAS/libwww-perl-6.01.tar.gz#lib/LWP/UserAgent.pm: 6.01 (2011 +-03-09T23:30:57.000Z) cpan:GAAS/libwww-perl-6.02.tar.gz#lib/LWP/UserAgent.pm: 6.02 (2011 +-03-27T11:35:01.000Z) cpan:GAAS/libwww-perl-6.03.tar.gz#lib/LWP/UserAgent.pm: 6.03 (2011 +-10-15T13:38:28.000Z)

Or the BackPAN:

$ p5u v -b LWP::UserAgent LWP::UserAgent backpan:GAAS/libwww-perl-5.00.tar.gz#lib/LWP/UserAgent.pm: 5.00 (1 +996-05-26T14:01:51.000Z) backpan:GAAS/libwww-perl-5.01.tar.gz#lib/LWP/UserAgent.pm: 5.01 (1 +996-08-02T16:38:58.000Z) [snip long output]

Or show a combination of the above:

$ p5u v -lcb LWP::UserAgent LWP::UserAgent /home/tai/.perlbrew/libs/perl-5.16.2@default/lib/perl5/LWP/UserAge +nt.pm: 6.04 cpan:GAAS/LWP5emu-0.01_01.tar.gz#lib/LWP/UserAgent.pm: 0.01_01 (19 +98-04-24T19:34:25.000Z) cpan:GAAS/libwww-perl-5.834.tar.gz#lib/LWP/UserAgent.pm: 5.834 (20 +09-11-21T13:09:14.000Z) cpan:GAAS/libwww-perl-5.835.tar.gz#lib/LWP/UserAgent.pm: 5.835 (20 +10-05-05T21:13:47.000Z) cpan:GAAS/libwww-perl-5.836.tar.gz#lib/LWP/UserAgent.pm: 5.836 (20 +10-05-13T07:34:58.000Z) cpan:GAAS/libwww-perl-5.837.tar.gz#lib/LWP/UserAgent.pm: 5.837 (20 +10-09-20T21:24:38.000Z) cpan:GAAS/libwww-perl-6.00.tar.gz#lib/LWP/UserAgent.pm: 6.00 (2011 +-03-08T19:25:05.000Z) cpan:GAAS/libwww-perl-6.01.tar.gz#lib/LWP/UserAgent.pm: 6.01 (2011 +-03-09T23:30:57.000Z) cpan:GAAS/libwww-perl-6.02.tar.gz#lib/LWP/UserAgent.pm: 6.02 (2011 +-03-27T11:35:01.000Z) cpan:GAAS/libwww-perl-6.03.tar.gz#lib/LWP/UserAgent.pm: 6.03 (2011 +-10-15T13:38:28.000Z) backpan:GAAS/libwww-perl-5.00.tar.gz#lib/LWP/UserAgent.pm: 5.00 (1 +996-05-26T14:01:51.000Z) backpan:GAAS/libwww-perl-5.01.tar.gz#lib/LWP/UserAgent.pm: 5.01 (1 +996-08-02T16:38:58.000Z) [snip long output]

Let's check if our currently installed version of LWP::UserAgent is reliable...

$ p5u testers -v 6.04 libwww-perl CPAN Testers results for libwww-perl version 6.04 PASS FAIL ETC Perl 5.006 0 0 40 Perl 5.008 256 15 1 Perl 5.010 282 3 3 Perl 5.012 670 2 3 Perl 5.014 510 16 2 Perl 5.016 309 26 0 Perl 5.017 229 32 0
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

In reply to Re^2: Finding Module Versions - How Would You Do It? by tobyink
in thread Finding Module Versions - How Would You Do It? by Tommy

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!
  • 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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others taking refuge in the Monastery: (6)
    As of 2014-07-31 23:49 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My favorite superfluous repetitious redundant duplicative phrase is:









      Results (255 votes), past polls