in reply to [untitled node, ID 150523]

the letter "R."

I see two letters in there. This should work for "the letter 'R'" as a single letter. You should be able to modify it for the double letter search if that's what you really need.

@r_words = grep /^R/,@words;



Everything will go worng!