Or you could use s/\b(\w)(\w+)\b/\U$1\L$2/g to force things into sentance case.while (<DATA>) { chomp; print $_, ': ', (length != tr/A-Z/A-Z/ ? 'ok' : 'not ok'), "\n"; } __DATA__ blah BLAH Blah
gav^
In reply to Re: ChAnGiNg CaSe of forms before they are submitted?
by gav^
in thread ChAnGiNg CaSe of forms before they are submitted?
by jmmorse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |