[thelist] fetchrow_arrayref and packages

Jonathan Lim jonathan.lim at netdecisions.co.uk
Fri Nov 24 09:05:54 CST 2000


Just a thought, have you put
use DBI;
somewhere before this?

-----Original Message-----
From: Adrian Fischer [mailto:adrian at logo-logic.com]
Sent: 24 November 2000 04:29
To: The List 
Subject: [thelist] fetchrow_arrayref and packages


Hi Gang,

Can someone please tell me why this:
<snip>
 $dbh=$db->prepare("SELECT docId,docPassword,docEmail,docAccountEnd FROM
tblDockets WHERE docAccountEnd <=  $current_time  AND docClosed=0 ");
$dbh->execute();
while ($varDBInfo = $dbh->fetchrow_arrayref) {
</snip>

would return this:

Can't call method "fetchrow_arrayref" without a package or object reference
at dockets.pl line 769

I have tried to work out what the object or package is but am stumped.

Much appreciated


Adrian


---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt ! 




More information about the thelist mailing list