Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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

Replies are listed 'Best First'.
Re^2: ppm rep describe
by QM (Parson) 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?)

    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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://496781]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2018-06-19 18:55 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (114 votes). Check out past polls.