This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In S_hsplit(), replace a for with a do/while, as the loop runs at least once.
authorNicholas Clark <nick@ccl4.org>
Thu, 21 Feb 2013 19:54:48 +0000 (20:54 +0100)
committerNicholas Clark <nick@ccl4.org>
Tue, 26 Feb 2013 15:00:20 +0000 (16:00 +0100)
commit7663aa67ebf92f85fdb62aee91f2b6af8c7d9cbb
tree1c69b57933f319ed63a735c0fe36fa85212cff19
parente8c10cf36903c9c33ff8323b6f1a05d27080bc4d
In S_hsplit(), replace a for with a do/while, as the loop runs at least once.

Seems pointless to check the exit condition before any iterations, when we
know that it will always be false the first time.
hv.c