diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-11-05 12:26:59 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-11-05 12:26:59 +0000 |
commit | 96279a0b9750c1d757b48c40cd1f17b5a60ea014 (patch) | |
tree | cd560f727a90ded832cfd5480f248848006f73d0 /perl-install/interactive/gtk.pm | |
parent | 3812fd80c231dba41da389d575547492c994552c (diff) | |
download | drakx-96279a0b9750c1d757b48c40cd1f17b5a60ea014.tar drakx-96279a0b9750c1d757b48c40cd1f17b5a60ea014.tar.gz drakx-96279a0b9750c1d757b48c40cd1f17b5a60ea014.tar.bz2 drakx-96279a0b9750c1d757b48c40cd1f17b5a60ea014.tar.xz drakx-96279a0b9750c1d757b48c40cd1f17b5a60ea014.zip |
use each_index instead of map_index when the return value is not used
Diffstat (limited to 'perl-install/interactive/gtk.pm')
-rw-r--r-- | perl-install/interactive/gtk.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index 32e42b496..108677366 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -283,7 +283,7 @@ sub create_list { my $tips = new Gtk::Tooltips; my $toselect; - map_index { + each_index { my $item = new Gtk::ListItem(may_apply($e->{format}, $_)); $item->signal_connect(key_press_event => sub { my ($w, $event) = @_; |