List:General Discussion« Previous MessageNext Message »
From:Pop Qvarnstrom Date:March 20 1999 1:16am
Subject:Re: Perl/Mysql problem
View as plain text  
>Not a CODE reference at ./insert line 64, <> chunk 2.
>
>Here is line 64.....
>my $sth = $dbh->($query) or  die "can't post message: $dbh->errstr\n";

That ($query) is not a reference to a code snippet. Try:

$sth = $dbh->prepare($query)

	//pop
_______________________________________________________________
  "They can't break you if you don't have a spine"
    -- Wally in Dilbert 12/25/97

                               http://www.fyristorg.com/~pop/


Thread
Perl/Mysql problemRobert H. Clugston20 Mar
  • Re: Perl/Mysql problemThimble Smith20 Mar
Re: Perl/Mysql problemPop Qvarnstrom20 Mar