Don't iterate over the same list twice
authorShawn M Moore <sartak@gmail.com>
Sat, 28 Mar 2009 22:49:51 +0000 (18:49 -0400)
committerShawn M Moore <sartak@gmail.com>
Sat, 28 Mar 2009 22:49:51 +0000 (18:49 -0400)
commit6fab0b75a64e959232d18f753eb4c0355ee9d2e4
tree72347515eb33ab899631a3d607c59c9dd9dcb3e1
parent5b121c2c8507434e24713ac221ffcf760c40e3d3
Don't iterate over the same list twice

(especially since the two loops can share state)
lib/Moose/Util.pm