http://qs321.pair.com?node_id=379567


in reply to Re^2: (mysql) failing to locate object method
in thread (mysql) failing to locate object method

This program works for me, once I change $db, $db_user, $db_password, and $sql to something that exists on my system. Also I had to add a subroutine for err_trap(). Do you have the DBD::mysql module installed?
  • Comment on Re^3: (mysql) failing to locate object method

Replies are listed 'Best First'.
Re^4: (mysql) failing to locate object method
by sriraj (Initiate) on Aug 03, 2004 at 10:53 UTC
    hi davorge

    i installed all the modules which u had mentioned and even now when i am

    trying to install i am getting this message

    C:\>ppm

    PPM - Programmer's Package Manager version 3.1.

    Copyright (c) 2001 ActiveState SRL. All Rights Reserved.

    Entering interactive shell. Using Term::ReadLine::Stub as readline library.

    Type 'help' to get started.

    ppm> install dbi

    Note: Package 'DBI' is already installed.

    ppm> install dbd-mysql

    Note: Package 'DBD-mysql' is already installed.

    ppm>