Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: How to check if a string contains more than 1 character?

by choroba (Chancellor)
on May 02, 2013 at 12:33 UTC( #1031747=note: print w/replies, xml ) Need Help??


in reply to How to check if a string contains more than 1 character?

sub has_more_than_1_char { my $string = shift; return defined $string && 1 < length $string; }
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2016-08-30 11:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (415 votes). Check out past polls.