in reply to
Check if a variable contains only one letter?
Use anchors:
/^X+$/
Comment on
Re: Check if a variable contains only one letter?
Download
Code
In Section
Seekers of Perl Wisdom