http://www.perlmonks.org?node_id=1001407


in reply to Regular Expressions question

It seems like "while (<@check>)" should be:
for (@check)
because "@check" is not a file handle.

             "By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest."           -Confucius