Re: DBI-1.46 issues

Re: DBI-1.46 issues

am 03.02.2005 22:32:32 von amonotod

> From: steven_todesco@us.ibm.com
> Date: 2005/02/03 Thu AM 10:56:45 CST

> db2clnt8. The make install I had to run as root. the script runs OK as
> root but not as db2clnt8. It gets the error below.

Hello,
Using the script below, as both root and db2clnt8, run

$ module_version.pl DBI


#!/usr/bin/perl
# module_version.pl
# Stolen off the web... Thanks!
use strict;
foreach my $module ( @ARGV ) {
eval "require $module";
printf( "%-20s: %s\n", $module, $module->VERSION ) unless ( $@ );
}

HTH,
amonotod


--

`\|||/ amonotod@ | sun|perl|windows
(@@) charter.net | sysadmin|dba
ooO_(_)_Ooo____________________________________
_____|_____|_____|_____|_____|_____|_____|_____|