foreach $data ( @$data) {
That doesn't look right. You have the same variable in the iterator as in the list over which you are iterating. At best, that's confusing. Eg. instead:
foreach my $thisone (@$data) {
You might also consider some more meaningful name than $data but that's purely a stylistic tip.
In reply to Re: Creating a perl script for database monitoring
by hippo
in thread Creating a perl script for database monitoring
by Jeylox
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |