use strict; use warnings; #### sub isPalindrome { my $orig = shift; my $reversed = 0; my $n = $orig; ... #### $temp++;