or download this
my @patterns = qw/create delete insert update drop/;
my $query = "@sqlstatement"; # don't know what you already have in @sq
+lstatement though
...
# the query did all of our checking, so we don't need to check anyt
+hing.
print "$data->[3] $data->[9] $data->[10] $data->[13]\n";
}