From: Thimble Smith Date: March 20 1999 1:17am Subject: Re: Perl/Mysql problem List-Archive: http://lists.mysql.com/mysql/666 Message-Id: <19990319181756.S17225@desert.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Fri, Mar 19, 1999 at 05:23:51PM -0800, Robert H. Clugston wrote: > Anybody know what this means? > Not a CODE reference at ./insert line 64, <> chunk 2. It means you're treating a SCALAR variable as if it's a reference to a subroutine, but it's not a reference to a subroutine. > Here is line 64..... > my $sth = $dbh->($query) or die "can't post message: $dbh->errstr\n"; $dbh->prepare($query) is probably what you want. Tim