Problems? Is your data what you think it is? | |
PerlMonks |
Re^3: Help me ! I am stuck ! PERL DBIby spectre9 (Beadle) |
on Oct 13, 2007 at 03:56 UTC ( [id://644596]=note: print w/replies, xml ) | Need Help?? |
You might wish to get in a habit of checking for $err as well. In some situations, if you $sth->execute fails, and you $sth->fetchrow Perl may (will) exit entirely. Checking for errors is a good habit to get into -- it will prepare you for the 'next database'
spectre#9 -- more dangerous than acme
In Section
Seekers of Perl Wisdom
|
|