Update:
sub karls_has_more_than_1_char { ( shift =~ /.{2,}/ ) ? 1 : return; } sub karls_has_more_than_1_char_2 { ( shift =~ /(.{2,})/ ) ? $1 : return; }
Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
In reply to Re: How to check if a string contains more than 1 character?
by karlgoethebier
in thread How to check if a string contains more than 1 character?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |