in reply to Re: nesting loops help?
in thread nesting loops help?

In addition to the suggestion to use strict;

you didnt do that and your code doesnt work with strict

why is this a "while" an not an "if"?

read the fine manual

using just $_ is for chodes

big man