Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

cleanup

  • Loading branch information...
commit d9f2f1d06771f8d3092d10da2e0dc5e2a49f6e51 1 parent b8bc4f7
Sebastian Riedel authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 lib/Mojo/DOM.pm
View
5 lib/Mojo/DOM.pm
@@ -690,10 +690,7 @@ sub each {
return @$self unless $cb;
# Iterate
- for my $e (@$self) {
- $_ = $e;
- $_->$cb;
- }
+ $_->$cb for @$self;
return $self;
}
Please sign in to comment.
Something went wrong with that request. Please try again.