diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-06 13:42:35 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-06 13:42:35 +0000 |
commit | 0b1ba6a22bf86c55bf0c9ffc6fc20e6c8b737435 (patch) | |
tree | 09fb3ac41f6c567b1f512accedf96c1acf6f0b64 /perl-install/wizards.pm | |
parent | fad2f405f64e0f6d2abfd71fa1bfafa60e0c3069 (diff) | |
download | drakx-0b1ba6a22bf86c55bf0c9ffc6fc20e6c8b737435.tar drakx-0b1ba6a22bf86c55bf0c9ffc6fc20e6c8b737435.tar.gz drakx-0b1ba6a22bf86c55bf0c9ffc6fc20e6c8b737435.tar.bz2 drakx-0b1ba6a22bf86c55bf0c9ffc6fc20e6c8b737435.tar.xz drakx-0b1ba6a22bf86c55bf0c9ffc6fc20e6c8b737435.zip |
perl_checker cleanups
Diffstat (limited to 'perl-install/wizards.pm')
-rw-r--r-- | perl-install/wizards.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/wizards.pm b/perl-install/wizards.pm index 3a5c99ce1..7b4482b78 100644 --- a/perl-install/wizards.pm +++ b/perl-install/wizards.pm @@ -132,7 +132,7 @@ sub process { local $::Wizard_no_cancel = $page->{no_cancel} || $page->{end}; local $::Wizard_finished = $page->{end}; defined $page->{pre} and $page->{pre}($page); - die "inexistant \"$next\" wizard step" if is_empty_hash_ref($page); + die qq(inexistant "$next" wizard step) if is_empty_hash_ref($page); # FIXME or the displaying fails my $data = defined $page->{data} ? (ref($page->{data}) eq 'CODE' ? $page->{data}->() : $page->{data}) : [ { label => '' } ]; @@ -167,10 +167,10 @@ sub process { if (!defined $o->{pages}{$next}) { $next = $page->{next}; } else { - die "the \"$next\" page (from previous wizard step) is undefined" if !$next; + die qq(the "$next" page (from previous wizard step) is undefined) if !$next; } } - die "Step \"$current\": inexistant \"$next\" page" if !exists $o->{pages}{$next}; + die qq(Step "$current": inexistant "$next" page) if !exists $o->{pages}{$next}; } else { # step back: $next = pop @steps |