![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Most Annoying Error : Use of uninitialized value in concatenation (.) or string at C:\Perl\Oby jhourcle (Prior) |
on Jul 15, 2005 at 13:23 UTC ( [id://475213]=note: print w/replies, xml ) | Need Help?? |
It would also assume that there were no bad characters in the data being inserted, as there's nothing in the code to escape them. In a situation like this, I'd use bind variables, nulls were allowed. I'd use 'em even if nulls weren't allowed, I'd just verify my data before trying the insert:
It wouldn't be bad to check for errors after doing an execute, either:
In Section
Seekers of Perl Wisdom
|
|