[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl-win32-users
Subject:    RE: installing modules on Unix server
From:       "Furnish, Trever G" <TGFurnish () herff-jones ! com>
Date:       2004-02-27 20:42:42
Message-ID: 8FFC76593085ED4A80D3601BC41EFCDF037336A7 () inex1 ! herffjones ! hj-int
[Download RAW message or body]

for module in Carp DBI DBD::ODBD DBIx::SQLEngine
do
	perl -e "use $module" 2>/dev/null
	if [ $? -eq 0 ]; then
		echo Module is installed: $module
	else
		echo Module is NOT installed: $module
	fi
done


> -----Original Message-----
> From: Lori [mailto:lorid@dri.edu]
> Sent: Friday, February 27, 2004 2:55 PM
> To: Sisyphus
> Cc: perl
> Subject: installing modules on Unix server
> 
> 
> My main question: Is there a way to tell if I already have 
> these modules before I
> attempt to install them ?
> I cant use perldoc cpan or any perldoc command - I guess the 
> docs were  not
> installed?
> I get error command not found.
> 
> I have experimented with perl  on my home pc, and now want to use it
> at work on the unix server.
> 
> I am trying to see if I can install a module in my 
> development directory - since
> I dont
> have perms for the /usr/Perl/   directory
> 
> I want to install this module: DBIx::MSAccess:Convert2Db
> 
> These are the required modules:
> Carp, DBI, DBD::ODBD, DBIx::SQLEngine.
> 
> Is there a way to tell if I already have these modules before 
> I attempt to
> install them ?
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Perl-Win32-Users mailing list
> Perl-Win32-Users@listserv.ActiveState.com
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> 
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic