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


in reply to Re^2: Little annoying mistakes ... of others
in thread Little annoying mistakes ... of others

The funniest part is that all three for-loops (parent, this, and child) are wrong (which only is a great defense of the whole point). The correct versions are
for (my $i = 0; $i <= $#names; $i++) { ... } # or for (my $i = 0; $i < @names; $i++) { ... }
You guys had $i < $#names and $i <= @names. :-)

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?