http://www.perlmonks.org?node_id=1023786

prasperl has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks, I installed DBI module in a non INC location and using it in my script via "use lib". But it throw the below error at the "use DBI" step. Please help

Usage: DBI::_install_method(dbi_class, meth_name, file, attribs=Nullsv +) at /xx/xxx/xxxxx/xxxxx/oracle/lib/DBI.pm/oracle/lib/DBI.pm line 500 +. Compilation failed in require at tokens.pl line 7. BEGIN failed--compilation aborted at tokens.pl line 7. Usage: DBD::_::common::trace_msg(sv, msg, this_trace=1) at /xx/xxx/xxx +xx/xxxxx/oracle/lib/DBI.pm line 517. END failed--call queue aborted at tokens.pl line 7.

Replies are listed 'Best First'.
Re: PERL DBI.pm compilation error
by Mr. Muskrat (Canon) on Mar 16, 2013 at 15:27 UTC
Re: PERL DBI.pm compilation error
by ig (Vicar) on Mar 17, 2013 at 06:28 UTC

    Can you show the content of tokens.pl?