|
Hello,
'use DBI;' is indeed how to load to load a perl module.
The "weird" INC paths are due to the way cPanel is compiled.
Adding paths to @INC might allow a module to be included *BUT*:
- the perl version is likely to be different on different server or change (IE the paths would be wrong most of the time)
- if there is any linking/XS involved (DBI and driver's) there could be issues also (perl binary vs. cpanel binary)
If you can outline what you are needing DBI for I will be able to recommend a solution, thanks!
|