Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: ppm rep describe

by randyk (Parson)
on Oct 02, 2005 at 18:52 UTC ( [id://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?)

    -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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://496781]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-25 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found