Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: palindrome using regular expressions

by reneeb (Chaplain)
on Oct 10, 2006 at 12:01 UTC ( #577383=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    use strict;
    ...
    my $check = reverse $palindrome;
    
    print "yes\n" if $check eq $palindrome;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://577383]
help
Chatterbox?
[karlgoethebier]: ...to all for reading the manuals
[shmem]: karlgoethebier: reading? Naah... just grep :-P
[Discipulus]: ;=) can be an idea for another killing oneliner..

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2017-07-21 09:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (320 votes). Check out past polls.