Thats because when you change foreach $data ( @$data) { to foreach my $thisone ( @$data) {, you must also change (my $variable1,my $variable2,my $variable3) = @$data; to (my $variable1,my $variable2,my $variable3) = @$thisone; and change check => $data, to check => $thisone,
In reply to Re^3: Creating a perl script for database monitoring
by SimonPratt
in thread Creating a perl script for database monitoring
by Jeylox
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |