Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Bitten by the lazy execution bug?by antirice (Priest) |
on Dec 09, 2007 at 07:03 UTC ( [id://655938]=note: print w/replies, xml ) | Need Help?? |
Apparently $dbh->do(...) uses a regex somewhere prior to actually inserting your data. Since $1, $2, and $3 are passed by reference, trying to match anything with the regex engine would reset the values. In your fix, since you're interpolating the values, you get what you originally wanted.
In Section
Seekers of Perl Wisdom
|
|