From 0b1ba6a22bf86c55bf0c9ffc6fc20e6c8b737435 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 6 Jan 2004 13:42:35 +0000 Subject: perl_checker cleanups --- perl-install/wizards.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'perl-install/wizards.pm') 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 -- cgit v1.2.1