----- Original Message -----

> This is the first rpm command I learned from my Boss Ian:
>
> rpm -qa | grep ^perl
>
> I hope this is what you want.

No, I don't have problems with listing it with rpm.  But thanks for the
sample.  That ^ is a new one to me.  :-)
What I'm after is how to know that modules are installed and maybe how to
remove them.

I know that a program has been installed into the system, and then I've
upgraded it using CPAN.  But when I did it with another system, I noticed
that there is a newer version.  So I tried to get the first one updated
again, but it kept telling me that its already uptodate.  So I plan to
remove it then install fresh.

With the script I found in the CPAN site, it says the module was removed.
Then I tried to install the module using CPAN but it says its already
updated.  So I'm not sure whether/how its still installed 'coz when I run
the script it, it doesn't indicate that the program is there.

>
> I suggest that you learn how to do it in Perl. But if you really
> insist, here's a code from japhy
>
> FROM http://japhy.perlmonk.org/programs/modlist
>
> #!/usr/bin/perl -l
> # modlist -- list Perl modules

Yup, this gave me a list... it doesn't contain the version numbers though.

Any idea what effect does installing the program from a tar file would do to
an existing perl module?  Would there be any conflicts or will the files be
just upgraded?

Thanks.

God bless.

William
================================ icq #8313012 ====
  Blessed are those who hunger and thirst, for they are sticking to their
diets


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to