in reply to can i disable certain warnings?
This feels a bit odd, but is easier than only checking the values of the hash. Of course, you can do the same with arrays...# When retrieving data from DBI my $Ref = {map(defined $_ ? $_ : '', %{$sth->fetchrow_hashref})};
my $Ref = [map(defined $_ ? $_ : '', @{$sth->fetchrow_arrayref)];
Since I am also lazy, I found this much better than always writing:
Oh, well. Just sharing some more of my strange code... :-)print "<td> @{[ defined $Var ? $Var : '' ]} </td>";
Russ
|
|---|