is_palindrome
Usage : print "Palindrome\n" if (is_palindrome($n));
Purpose : This function just return true if $n is equivalent to its reverse.
next_palindrome
Usage : next_palindrome(22);
Returns : 33
Purpose : This function just return true if $n is equivalent to its reverse.
next_palindrome
Usage : previous_palindrome(22);
Returns : 11
Purpose : This function just return true if $n is equivalent to its reverse.
NAME
Palindrome - search and confirm palindromes numbers.
SYNOPSIS
use Palindrome qw/is_palindrome next_palindrome previous_palindrome/;
my $n = 22;
if(is_palindrome($n)){print "True!\n"}
else{print "False!\n"}
$n = next_palindrome($n); # $n is 33
$n = previous_palindrome($n); # $n is 11
DESCRIPTION
You can use this module to find and confirm palindrome numbers.
Blah blah blah.
USAGE
AUTHOR
Aureliano C. P. Guedes
CPAN ID: acpguedes
guedes.aureliano@gmail.com
COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
SEE ALSO
perl(1).