in reply to works in browser but not in prompt
Assuming you can access a command prompt (which it seems you can) type
which DBI.pm
Once you have the path add either of these to your CGI as a quick fix.
use lib "$path"; # or you can BEGIN { push @INC, $path }
where $path is the path reported by which. This will add this path to @INC just before your script runs, allowing it to find the DBI module. I believe use lib is the preferred method but either will generally work.
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: works in browser but not in prompt
by ncw (Friar) on Jul 23, 2001 at 16:55 UTC |