Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Feb 2002 13:56:27 +0100
From:      "Patrik Forsberg" <patrik.forsberg@dataphone.net>
To:        "jim" <jim@jwweeks.com>
Cc:        <freebsd-isp@freebsd.org>
Subject:   RE: perl modules
Message-ID:  <8F69143C0B1A9F4D95AFC58CF69877E54E6164@exhsto1.se.dataphone.com>

next in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8F69143C0B1A9F4D95AFC58CF69877E54E6164>