Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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
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 perusing the Monastery: (12)
As of 2014-08-27 17:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (247 votes), past polls