[Templates] newbie question - Module Versions.

Mark Mills mark@xodiax.com
Fri, 17 Jan 2003 12:38:58 -0500


This is a multi-part message in MIME format.

------_=_NextPart_001_01C2BE4F.50740F20
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

=20

I just inherited a perl installation with a ton of modules included in =
it and want to check each module to see which version is installed.
=20
I know that this cmd:
find `perl -e 'print "@INC"'` -name '*.pm' -print
=20
will show me the list of installed modules - but anyone know how to =
check each module for a version string?


Thanks for the help!=20
=20

Look at CPAN, the module. It has a nice, easy way to get most of what =
you want.
=20
try:
=20
#> perl -MCPAN -eshell
=20
and once you have it configured and running:
=20
> autobundle
=20
will create a snapshot file full of module names and their current =
versions.
=20
--mark mills=20

------_=_NextPart_001_01C2BE4F.50740F20
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 5.50.4207.2601" name=3DGENERATOR></HEAD>
<BODY>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px"><SPAN =
class=3D781273517-17012003><FONT=20
face=3D"Courier New"><FONT size=3D2><SPAN =
class=3D352033517-17012003><FONT face=3DArial=20
color=3D#0000ff></FONT></SPAN></FONT></FONT></SPAN><SPAN=20
class=3D781273517-17012003><FONT face=3D"Courier New"=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV><SPAN class=3D781273517-17012003><FONT face=3D"Courier New" =
size=3D2>I just=20
  inherited a perl installation with a ton of modules included in it and =
want to=20
  check each module to see which version is =
installed.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D781273517-17012003><FONT face=3D"Courier New"=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D781273517-17012003><FONT face=3D"Courier New" =
size=3D2>I know=20
  that this cmd:</FONT></SPAN></DIV>
  <DIV><SPAN class=3D781273517-17012003><FONT face=3D"Courier New" =
size=3D2>find `perl=20
  -e 'print "@INC"'` -name '*.pm' -print</FONT></SPAN></DIV>
  <DIV><SPAN class=3D781273517-17012003><FONT face=3D"Courier New"=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D781273517-17012003><FONT face=3D"Courier New" =
size=3D2>will show=20
  me the list of installed modules - but anyone know how to check each =
module=20
  for a version string?</FONT></SPAN></DIV><SPAN =
class=3D781273517-17012003><FONT=20
  face=3D"Courier New">
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT><BR><FONT =
size=3D2>Thanks for=20
  the help!<SPAN class=3D352033517-17012003><FONT face=3DArial=20
  color=3D#0000ff>&nbsp;</FONT></SPAN></FONT></DIV>
  <DIV><FONT size=3D2><SPAN=20
class=3D352033517-17012003></SPAN></FONT>&nbsp;</DIV></BLOCKQUOTE>
<DIV dir=3Dltr><FONT size=3D2><SPAN class=3D352033517-17012003>
<DIV><SPAN class=3D352033517-17012003><FONT face=3DArial color=3D#0000ff =
size=3D2>Look=20
at CPAN, the module. It has a nice, easy way to get most of what you=20
want.</FONT></SPAN></DIV>
<DIV><SPAN class=3D352033517-17012003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D352033517-17012003><FONT face=3DArial color=3D#0000ff =

size=3D2>try:</FONT></SPAN></DIV>
<DIV><SPAN class=3D352033517-17012003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D352033517-17012003><FONT face=3DArial color=3D#0000ff =
size=3D2>#&gt;=20
perl -MCPAN -eshell</FONT></SPAN></DIV>
<DIV><SPAN class=3D352033517-17012003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D352033517-17012003><FONT face=3DArial color=3D#0000ff =
size=3D2>and=20
once you have it configured and running:</FONT></SPAN></DIV>
<DIV><SPAN class=3D352033517-17012003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D352033517-17012003><FONT face=3DArial color=3D#0000ff =
size=3D2>&gt;=20
autobundle</FONT></SPAN></DIV>
<DIV><SPAN class=3D352033517-17012003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D352033517-17012003><FONT face=3DArial color=3D#0000ff =
size=3D2>will=20
create a snapshot file full of module names&nbsp;and their current=20
versions.</FONT></SPAN></DIV>
<DIV><SPAN class=3D352033517-17012003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D352033517-17012003><FONT face=3DArial color=3D#0000ff =
size=3D2>--mark=20
mills</FONT></SPAN>&nbsp;</SPAN></FONT></FONT></SPAN></DIV></DIV></BODY><=
/HTML>

------_=_NextPart_001_01C2BE4F.50740F20--