Design a Perl Module to work with palindrome numbers