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

Re: Announcing "p5u"

by mje (Curate)
on Jul 03, 2012 at 12:34 UTC ( #979676=note: print w/ replies, xml ) Need Help??


in reply to Announcing "p5u"

I think I may find this useful - thanks. Can you give an example of debian-release as I could only get it to work for you and your modules:

$ p5u debian-release DBI PACKAGE CPAN DEBIAN + WARNING DBI 1.622 (none) + !! $ p5u debian-release -a timb PACKAGE CPAN DEBIAN + WARNING $ p5u debian-release -a tobyink PACKAGE CPAN DEBIAN + WARNING HTML-Data-Parser 0.006 0.005-1 + !! . .

and what is the warning?


Comment on Re: Announcing "p5u"
Download Code
Re^2: Announcing "p5u"
by tobyink (Abbot) on Jul 03, 2012 at 12:58 UTC

    I get the same result as you for DBI and timb. However, these all work:

    • p5u dr -a adamk
    • p5u dr -a flora
    • p5u dr MooseX-Declare
    • p5u dr JSON

    There may be something specific to Tim Bunce happening. I'll have to investigate further.

    The warning is either "!!" or blank. When it's "!!" it means that Debian's package is not up to date. Yes, this probably wants to be documented. (And also the warning probably shouldn't be shown when the Debian version is "(none)".)

    Update: aha! It looks like the regular expression I was using to parse the Debian package list is at fault. /^(lib\S+?-perl) \((\S+?)\)/ should be /^(lib\S+?-perl) \((\S+).*\)/. 0.004 will be released soon.

    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

      I just used DBI and timb as an example. I actually tried loads of modules and cpan users which didn't seem to produce any results e.g., DBIx-Log4perl, DBD-ODBC, mjevans which are the obvious ones (me) but as you say some work e.g., DBD-Oracle.

      I also sometimes get failures:

      $ p5u testers DBD::ODBC Failed to retrieve URI http://www.cpantesters.org/distro/D/DBD-ODBC.js +on martin@bragi:~$ p5u testers DBD::ODBC CPAN Testers results for DBD-ODBC version 1.38_3 PASS FAIL ETC Perl 5.012 4 0 0 Perl 5.014 2 0 0

      but they could be something here so I will look into that.

      0.004 fixed the problem I found - thanks for the update.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2014-12-23 05:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (135 votes), past polls