From owner-freebsd-isp Sat Feb 9 4:56:40 2002 Delivered-To: freebsd-isp@freebsd.org Received: from exhsto1.se.dataphone.com (exhsto1.se.dataphone.com [212.37.6.239]) by hub.freebsd.org (Postfix) with ESMTP id 45CE937B419 for ; Sat, 9 Feb 2002 04:56:34 -0800 (PST) content-class: urn:content-classes:message Subject: RE: perl modules MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Sat, 9 Feb 2002 13:56:27 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Message-ID: <8F69143C0B1A9F4D95AFC58CF69877E54E6164@exhsto1.se.dataphone.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: perl modules Thread-Index: AcGxYgj3gLV6pJEVTkaLf5BN0ajctwABeZoQ From: "Patrik Forsberg" To: "jim" Cc: Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Hi fellows, >=20 > I have a 3.5.1-stable machine that has been in production=20 > since 2.2.6. At this point, I think it would be best to do a=20 > proper house-cleaning, install 4.5, and move the user=20 > accounts. The only glitch I see in doing so is that I have=20 > several clients on this machine running specialized cgi's and=20 > have lost track as to how many and what perl modules have been added. >=20 > Is there and easy way to determine exactly which ones have=20 > been installed so as to insure I have all of them installed=20 > in the new installation. >=20 > Forgive me if I am missing the obvious :/ >=20 > -- > Jim Weeks >=20 Hello Jim, This depends on how you have installed the perl-modules. If you've used ports then a simple pkg_info would do the trick, but if you've manually installed alot of modules I would say you have to dig throw the perl5 include directories (perl -V under @INC you have the directories) this is where all modules have to be installed to be usable so you would find them there. Found this in the man pages:=20 " To find out all the modules installed on your system, including those without documentation or outside the standard release, do this: % find `perl -e 'print "@INC"'` -name '*.pm' -print " I could be wrong but thats the way I would do it ;) Regards, Patrik To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message