Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Check if a variable contains only one letter?

by hdb (Prior)
on May 02, 2014 at 14:05 UTC ( #1084790=note: print w/ replies, xml ) Need Help??


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2015-05-06 08:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (130 votes), past polls