while (<DATA>) { chomp; print if substr($_,0,1) eq 'R' && length == 3; } __DATA__ raa Raa Raab
Update: Rereading your question, my solution only applies if you read 'letter' as 'any character'.
-- Hofmator
In reply to Re: Wildcard?
by Hofmator
in thread Wildcard?
by bobothesmart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |