perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "gtorreiro <gtorreiro@yahoo.com>" <gtorre...@yahoo.com>
Subject Re: Database access. HOW ?
Date Tue, 28 Jan 2003 01:07:05 GMT
You're welcome, Marcos! :)   
   
Whenever you want to know if a perl module is install do the   
following:   
   
$ perl -MYOUR::MODULE -e 'print "$YOUR::MODULE::VERSION\n"'   
   
where YOUR::MODULE is the module you want to test (DBI, Apache::ASP, 
 
etc).   
   
for example try this:   
   
$ perl -MCGI -e 'print "$CGI::VERSION\n"'   
   
it will try to use the CGI module and, if it's present, also will   
tell you what version you have installed.   
   
And if you don't have that module you'll see something like:   
   
Can't locate XYZ.pm in @INC (@INC contains:   
/usr/lib/perl5/i386-linux /usr/lib/perl5   
/usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl   
/usr/lib/perl5/site_perl .).   
BEGIN failed--compilation aborted.   
   
Where XYZ.pm is the module being test.   
   
I don't know if there is RH's packages for DBI and such but you can 
find out going to RH's homepage (www.redhat.com). 
 
Well, good luck!!!  
  
Guillermo  
  
  
--- In apache-asp@yahoogroups.com, "mnobrebr <marcos.otc@o...>"   
<marcos.otc@o...> wrote:   
> Thanks Guillermo.   
> I think that I am beginning to see the road.   
>    
> How can I check (what kind of command?) that   
> the DBI/DBDs are present in my Perl instalation ?   
>    
> Simply "rpm -qa | grep perl" will help me ?   
>    
> does exist some rpm (rh8 package) that helps me with    
> this installation?   
>    
> TIA,   
>    
> MNobre   
>    
>    
>    
>    
>   
--------------------------------------------------------------------- 
  
> To unsubscribe, e-mail: asp-unsubscribe@p...   
> For additional commands, e-mail: asp-help@p...   


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Mime
View raw message