Generic debug output isn’t helping much when trying to figure out hash content problems and procedures on it. Using Data::Dumper perl module helps a lot, but leaving that within the code is not really nice. In order to detect the not commented parts, use some grep magic:
$ grep -r '[^#]say Dumper' *
And then fix it.
$ find -type f -name '*.pm' | xargs sed -i 's/[^#]say Dumper/ #say Dumper/g'