Your code is broken:
D:\progs\perl>palindrome.pl Enter a word... noon PALINDROME D:\progs\perl>palindrome.pl Enter a word... ipswich PALINDROME D:\progs\perl>palindrome.pl Enter a word... bolton PALINDROME
The line
unshift @userinput, chop $user;needs to be changed to
push @userinput, chop $user;In reply to Re^2: Please help
by Not_a_Number
in thread Please help
by Camerontainium
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |