use Data::Dumper; # do your select.... # then... print Dumper $Count;