Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: ppm rep describe

by randyk (Parson)
on Oct 02, 2005 at 18:52 UTC ( #496781=note: print w/ replies, xml ) Need Help??


in reply to ppm rep describe

I also find the same problem on XP. What you might try instead is accessing the information directly from PPM::UI:

use strict; use warnings; use PPM::UI; my $name = q{ActiveState PPM2 Repository}; my $results = PPM::UI::repository_info($name); my $result = $results->{result}; print <<"END"; Name: $result->[0] Location: $result->[1] Type: $result->[2] END


Comment on Re: ppm rep describe
Download Code
Replies are listed 'Best First'.
Re^2: ppm rep describe
by QM (Vicar) on Oct 03, 2005 at 03:19 UTC
    Thanks! That fixed it.

    I must have run out of steam, because I didn't think to look into how ppm3-bin was doing it.

    You gotta love the fact that PPM::UI doesn't seem to exist on CPAN, or the fact that the file on my local disk doesn't have POD. (Or did I miss something there too?)

    -QM
    --
    Quantum Mechanics: The dreams stuff is made of

      You didn't miss anything - the pod is minimal (non-existent :) for PPM::UI. There is a PPM package on CPAN, but this is only version 2, used in ActivePerl 6xx; the interface to version 3 of ppm, used in 8xx, has changed quite a bit.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (16)
As of 2015-07-30 20:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls