4 messages in com.mysql.lists.perlproblems with mysql
FromSent OnAttachments
Rodrigo Cesar11 Jan 2002 09:10 
Niño Fision11 Jan 2002 09:16 
Juan Luis Orozco Montalvo11 Jan 2002 09:16 
Qichao Dong (Leon)11 Jan 2002 11:11 
Subject:problems with mysql
From:Juan Luis Orozco Montalvo (oroz@icave.com.mx)
Date:01/11/2002 09:16:43 AM
List:com.mysql.lists.perl

hi my doubt is the next

i have this... use DBI;

my $dbh = DBI->connect("DBI:mysql:TARIF", tarif, 12345);

my $sth = $dbh-> prepare ("select CU_NUMEMP from CAT_USERS where CU_USER ='$USERKEY'");

and send's me the next error...

Undefined subroutine &main::prepare called at rtarif.pl line 297

why??