Welcome to the Monastery | |
PerlMonks |
Re: $dbh->errstr;by simeon2000 (Monk) |
on Jul 24, 2002 at 13:40 UTC ( [id://184829]=note: print w/replies, xml ) | Need Help?? |
You have to put your the return of the prepare statement somewhere. Assuming use strict;:
Not only are you not storing the result of the prepare, even if you did, you must predeclare your $sql recipient variable or it'll go out of scope before you can execute it! "Falling in love with map, one block at a time." - simeon2000
In Section
Seekers of Perl Wisdom
|
|