> -----Original Message-----
> From: Rex Rex [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 16, 2005 2:12 PM
> To: Brian Volk
> Cc: Beginners (E-mail)
> Subject: Re: which packages are installed?
> 
> 
> Brian,
> 
> I don't think you can differentiate between what came out-of-the-box
> and what you had installed on your own as there isn't an XML tag or
> attribute that I am aware of that would capture this information in
> PPM.xml file.
> 
> That much said, this is what I think you are looking out for.
> 
> # Rex Arul --  08/16/2005
> # List of PPM packages installed.
> use strict;
> use PPM;
> my(%installedPackages) = PPM::QueryInstalledPackages();
> for(sort { uc($a) cmp uc($b) } keys %installedPackages){
>   print "$_\n";
> }
> 
> Hope this helps,
> Rex


Thanks Rex!  I really wasn't looking for a script but that is great!  I'll
give it a try.  

Thanks again.

Brian 





> 
> On 8/16/05, Brian Volk <[EMAIL PROTECTED]> wrote:
> > Hi All,
> > 
> > I'm currently running ActiveState's Active Perl 5.8 at work 
> on WinXP.  I'm
> > getting a new machine (WInXP) in a couple of weeks and I 
> was curious if
> > anyone knows how I can list the modules that I have 
> installed.   This
> > directory " C:\Perl\site\lib\ppm-conf " has a lot of PKG 
> files, which I
> > think might be what I'm looking for... but I was just 
> interested in the
> > modules that I installed, not the ones that came w/ the 
> distribution..
> > Anyone have any ideas?
> > 
> > Thanks!
> > 
> > Brian Volk
> > HP Products
> > 317.298.9950 x1245
> >  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
> > 
> > 
> >
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
> 
> 
> 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to