News for hackers. Stuff that matters.
Re:The Perl Renaissance by cpenner461 on Saturday February 16, 2013 @11:28AM (#5231940)
So technically not "do/while", but:

  while(some_condition):
    do_stuff
Re:The Perl Renaissance by skue on Saturday February 16, 2013 @11:38AM (#5231995)
No, it's actually this:

  do_stuff
  while(some_condition):
    do_stuff
The advantage of do/while in this situation is avoiding the duplicate code.
Re:The Perl Renaissance by paulnechifor on Saturday February 16, 2013 @11:51AM (#5232054)
I prefer:

    while True:
        codeHere()
        if shouldStop():
            break
Re:The Perl Renaissance by jstanley on Saturday February 16, 2013 @11:33AM (#5231970)
More like:

  do_stuff
  while(some_condition):
    do_stuff
Re:The Perl Renaissance by cpenner461 on Saturday February 16, 2013 @11:38AM (#5231996)
Ahh yes - point taken.