in reply to Re: Perl Database connect not working in .pm file
in thread Perl Database connect not working in .pm file

I have use the perl -MDBI -wle 'print $INC{"DBI.pm"}' comment. It's return the DBI.pm file location

/home/kane/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/DBI.pm

  • Comment on Re^2: Perl Database connect not working in .pm file

Replies are listed 'Best First'.
Re^3: Perl Database connect not working in .pm file
by poj (Abbot) on Aug 31, 2018 at 06:35 UTC

    Your stackoverflow post says DBI is also located in /usr/local/lib/x86_64-linux-gnu/perl/5.26.1

    Can you show the code for the script that uses the module and is not working.

    poj