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

Dear monks, I am trying to use DBI from Tinyperl.

To the lib folder in the C:\tinyperl\lib.zip archive, I've added DBI.pm, the DBI, DBD, auto/DBI and auto/DBD folders (and all their contents) from the main (Active)perl distro.

Then a simple use DBI; produces
Can't locate object method "_install_method" via package "DBI" at /loa +der/0x1906548/DBI.pm line 445. Compilation failed in require at (eval 24) line 1. BEGIN failed--compilation aborted at (eval 24) line 1.
I get the same error with both versions 1.1 and 2. Can you point me in the right direction to resolve this problem?

Thanks in advance.

Replies are listed 'Best First'.
Re: DBI via Tinyperl
by Anonymous Monk on Jan 25, 2005 at 14:33 UTC
Re: DBI via Tinyperl
by sasikumar (Monk) on Jan 25, 2005 at 11:33 UTC
    Hi Arunbear

    I have not used the Tinyperl. But as per the error it states it is not able to identify the file PurePerl.pm which is inside the DBI Folder. This file contain the method _install_method. Just chk that.

    Thanks
    SasiKumar
      Sorry, but that doesn't help at all. The error message as posted does not mention a file called PurePerl.pm :(
        The error message will not mention the file name. It will always mention the package name.

        Thanks
        SasiKumar
Re: DBI via Tinyperl
by Anonymous Monk on Mar 23, 2005 at 14:42 UTC
    I did download the newest version of TinyPerl. I still cannot get the DBI module to work correctly. Is there any way to get this module to work in TinyPerl? Thanks