diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-11-18 13:25:45 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-11-18 13:25:45 +0000 |
commit | 459eedd7dc7ef289f379d2fc1dc691a057d1e144 (patch) | |
tree | a042f6f973b37076d459c3ec80404f9e4ffaa202 /perl-install/wizards.pm | |
parent | fb67876005b9f7002d56f96269da9e6fb5d03b0f (diff) | |
download | drakx-459eedd7dc7ef289f379d2fc1dc691a057d1e144.tar drakx-459eedd7dc7ef289f379d2fc1dc691a057d1e144.tar.gz drakx-459eedd7dc7ef289f379d2fc1dc691a057d1e144.tar.bz2 drakx-459eedd7dc7ef289f379d2fc1dc691a057d1e144.tar.xz drakx-459eedd7dc7ef289f379d2fc1dc691a057d1e144.zip |
remove some unneeded ";", add some for normalization (as told by perl_checker)
Diffstat (limited to 'perl-install/wizards.pm')
-rw-r--r-- | perl-install/wizards.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/wizards.pm b/perl-install/wizards.pm index 2ae0af4ca..cb40c881e 100644 --- a/perl-install/wizards.pm +++ b/perl-install/wizards.pm @@ -119,7 +119,7 @@ sub process { my ($res, $msg) = &{$o->{init}}; if (!$res) { $in->ask_okcancel(N("Error"), $msg); - die "wizard failled" if !$::testing + die "wizard failled" if !$::testing; } } @@ -146,10 +146,10 @@ sub process { my $i; foreach (@{$d->{boolean_list}}) { push @$data2, { text => $_, type => 'bool', val => \${$d->{val}}->[$i], disabled => $d->{disabled} }; - $i++ + $i++; } } else { - push @$data2, $d + push @$data2, $d; } } my $name = ref($page->{name}) ? $page->{name}->() : $page->{name}; @@ -185,9 +185,9 @@ sub process { die qq(Step "$current": inexistant "$next" page) if !exists $o->{pages}{$next}; } else { # step back: - $next = pop @steps + $next = pop @steps; } - $page = $o->{pages}{$next} + $page = $o->{pages}{$next}; } } |