Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Finding longest palindrome from a string

by Aristotle (Chancellor)
on Aug 13, 2004 at 14:30 UTC ( #382685=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub aristotle {
        my $str = shift;
    ...
    
        return $palindrome;
    }
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
        print "$rotate_count: ", hd( $str ), " ^ ", hd( $rts ), " = ", hd(
    + $mask ), "\n";
        substr $rts, 0, 0, chop $rts;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://382685]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2014-10-01 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (18 votes), past polls