The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

String::Palindrome - Determine if a string is a palindrome

VERSION

Version 0.01

SYNOPSIS

    use String::Palindrome qw/ is_palindrome /;

    my $is     = 'abccba';
    my $is_not = 'abcdef';

    is_palindrome( $is     )  = 1;
    is_palindrome( $is_not )  = 0;

EXPORTABLE

is_palindrome

Returns true if the string is a palindrome. Currently, passing a ref will also cause an undef to return and a blank string is reported as not a palindrome.

AUTHOR

Adam Lesperance, <lespea at cpan.org>

BUGS

Please report any bugs or feature requests to bug-string-palindrome at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=String-Palindrome. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc String::Palindrome

You can also look for information at:

LICENSE AND COPYRIGHT

Copyright 2009 Adam Lesperance.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.