Permalink
Browse files

cleanup

  • Loading branch information...
Sebastian Riedel
Sebastian Riedel committed Jul 9, 2010
1 parent b8bc4f7 commit d9f2f1d06771f8d3092d10da2e0dc5e2a49f6e51
Showing with 1 addition and 4 deletions.
  1. +1 −4 lib/Mojo/DOM.pm
View
@@ -690,10 +690,7 @@ sub each {
return @$self unless $cb;
# Iterate
- for my $e (@$self) {
- $_ = $e;
- $_->$cb;
- }
+ $_->$cb for @$self;
return $self;
}

0 comments on commit d9f2f1d

Please sign in to comment.