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

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: Can't call method "do" on an undefined value error
by FunkyMonk (Bishop) on Jul 05, 2007 at 17:48 UTC
    It's $db that's undefined, not $dbname
Re: Can't call method "do" on an undefined value error
by Fletch (Bishop) on Jul 05, 2007 at 17:49 UTC

    That's nice. But you're not calling a method on $dbname, you're calling it on $db.

    I'd say next time try actually reading the error message for understanding, but judging by the OP's past performance taking simple advice it'd be pointless . . .

    A reply falls below the community's threshold of quality. You may see it by logging in.