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


in reply to Moving to next iteration of a while loop

Hi,

Possibly @lines could be better expressed as @letters or maybe @characters. The next line after FAIL starts with an E, not a k, so it seems to be working. If it was consecutively going through both the 'k' and 'E|G' if blocks I would expect FAIL and then a line beginning with k.

  • Comment on Re: Moving to next iteration of a while loop