in reply to Bitten by the lazy execution bug?

if ( my @vals = /<regex>/ ) { $dbh->do( $sql, undef, @vals ) or die " ... "; }

That's much safer because it avoids all the crap about magic vars.


My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?