in reply to "Can't locate object method" error

my ( @explain, @allanswers, @allquestions, $fullname, $anslength, @allselections, $file, $fname, $lname, $time, $reviewtime, $idinput, $id, $courselocation, $useripaddress, $questionno, @log, $clocktime, $log, $type, $value, @answers, $buttonname, %selections, @options, $nds );
I stopped reading here. This is almost always a warning that bad code follows. Saves me time that way.

You might want to look at reducing the number of global variables in your program, and especially want to look into documenting your variables as you introduce them.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re^2: "Can't locate object method" error
by Codon (Friar) on Aug 16, 2005 at 18:15 UTC
    I usually stop at
    use CGI;
    I find that this is often the introduction of a script that was thrown together in haste rather than well thought out and designed accordingly. :-)

    Ivan Heffner
    Sr. Software Engineer, DAS Lead
    WhitePages.com, Inc.