in reply to Re^2: avoiding hash key typos
in thread avoiding hash key typos
Anon's sample only emits a warning because it's using the bad value for something that doesn't accept undef's... but if you were doing something like the following, you would get silent failure/undesired results:my $c = undef; print "$c\n";
my $ct = $dbh->selectrow_array("SELECT ... WHERE x = ?",{},$c);
|
---|