in reply to Re^2: printing column info without headers
in thread printing column info without headers

reason I'm asking is because it seems to me we would then break out of the while loop. I don't want to do that, I'd like to still be able to continue on and look for other strings in the file..etc..
  • Comment on Re^3: printing column info without headers

Replies are listed 'Best First'.
Re^4: printing column info without headers
by toolic (Bishop) on Jul 09, 2008 at 16:41 UTC
    next will not break out of the while loop; last would break out of the loop.
Re^4: printing column info without headers
by blazar (Canon) on Jul 16, 2008 at 17:22 UTC

    I personally believe you shouldn't be (mis)guided by what could possibly seem to you, but rather resort to the actual docs, which tell you what that is. Incidentally, YMMV but I personally find "next" very intuitive as a term to suggest that it won't break out of the loop: just as much as "last" is about the fact that it will.

    (Apologies for replying so late.)

    --
    If you can't understand the incipit, then please check the IPB Campaign.