keiusui has asked for the wisdom of the Perl Monks concerning the following question:
And after writing this code I just answered my own question. Sorry guys, no response needed (unless you know of a shorter version of this code).if( ($s =~ /\w{6,20}/) && ($s !~ /\_/)) {print "success!";} else {print "invalid string";}
|
|---|