diff --git a/pacundo.pl b/pacundo.pl index 2169d80..cb7cd57 100755 --- a/pacundo.pl +++ b/pacundo.pl @@ -147,7 +147,7 @@ $n, $tx->{action}, $tx->{pkg_name} } } - @sel = sort grep(!/[0-9]-[0-9]/, @sel); + @sel = sort grep({!/[0-9]-[0-9]/} @sel); my @sel_undo;