We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The major problem with each() is it is vulnerable to this subtle bug...
while( my($k,$v) = each %hash ) { ... do something ... last if $k eq "Foo"; }
This leaves the iterator of %hash incomplete. The next loop will not iterate through the complete hash. This makes each dangerous to use.
autobox::Core can solve this by resetting the iterator.
The text was updated successfully, but these errors were encountered:
8a0b95d
No branches or pull requests
The major problem with each() is it is vulnerable to this subtle bug...
This leaves the iterator of %hash incomplete. The next loop will not iterate through the complete hash. This makes each dangerous to use.
autobox::Core can solve this by resetting the iterator.
The text was updated successfully, but these errors were encountered: