diff options
Diffstat (limited to 'URPM.pm')
-rw-r--r-- | URPM.pm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -101,8 +101,8 @@ sub traverse { my ($urpm, $callback) = @_; if ($callback) { - foreach (@{$urpm->{depslist} || []}) { - $callback->($_); + foreach my $p (@{$urpm->{depslist} || []}) { + $callback->($p); } } |