| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Thimble Smith | Date: | March 20 1999 1:17am |
| Subject: | Re: Perl/Mysql problem | ||
| View as plain text | |||
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
| Thread | ||
|---|---|---|
| • Perl/Mysql problem | Robert H. Clugston | 20 Mar |
| • Re: Perl/Mysql problem | Thimble Smith | 20 Mar |
| • Re: Perl/Mysql problem | Pop Qvarnstrom | 20 Mar |
