diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2010-08-19 16:10:50 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2010-08-19 16:10:50 +0000 |
commit | 1f4edb2b78b9a726370fe5793195553f074ba294 (patch) | |
tree | 866ab3ada0f1fa5bd38d96d7cd0f7b6f7d869534 | |
parent | c8e0e5ccb66be95abf664ac6b31a5c4d96112bf5 (diff) | |
download | drakx-backup-do-not-use-1f4edb2b78b9a726370fe5793195553f074ba294.tar drakx-backup-do-not-use-1f4edb2b78b9a726370fe5793195553f074ba294.tar.gz drakx-backup-do-not-use-1f4edb2b78b9a726370fe5793195553f074ba294.tar.bz2 drakx-backup-do-not-use-1f4edb2b78b9a726370fe5793195553f074ba294.tar.xz drakx-backup-do-not-use-1f4edb2b78b9a726370fe5793195553f074ba294.zip |
- fix: Use of array as a reference
-rw-r--r-- | perl-install/any.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index 48a610b27..0578c525f 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -616,7 +616,7 @@ sub setupBootloader__entries { my @entries = @{$b->{entries}}; my ($index) = grep { $entries[$_]{label} eq $e->{label} } 0..$#entries; if ($index > 0) { - (@{$b->{entries}}->[$index - 1], @{$b->{entries}}->[$index]) = (@{$b->{entries}}->[$index], @{$b->{entries}}->[$index - 1]); + ($b->{entries}->[$index - 1], $b->{entries}->[$index]) = ($b->{entries}->[$index], $b->{entries}->[$index - 1]); } 1; }; @@ -626,7 +626,7 @@ sub setupBootloader__entries { my @entries = @{$b->{entries}}; my ($index) = grep { $entries[$_]{label} eq $e->{label} } 0..$#entries; if ($index < $#entries) { - (@{$b->{entries}}->[$index + 1], @{$b->{entries}}->[$index]) = (@{$b->{entries}}->[$index], @{$b->{entries}}->[$index + 1]); + ($b->{entries}->[$index + 1], $b->{entries}->[$index]) = ($b->{entries}->[$index], $b->{entries}->[$index + 1]); } 1; }; |