Seems clearer to me, as well as *possible*.while (length($target_letters) != WORD_LENGTH && $target_letters =~ /[^A-Za-z]/) { # prompt }
In reply to Re: subroutine within regex quantifier?
by chromatic
in thread subroutine within regex quantifier?
by hagen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |