summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive/newt.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-05-26 09:13:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-05-26 09:13:34 +0000
commite05ddb281beb452808a0f3669c93c907acf1fa77 (patch)
treee0be239d7fea26ff84254b55b77c1eed48af421a /perl-install/interactive/newt.pm
parent5c629f83b4a37df7ef2981efbbc8093c75641382 (diff)
downloaddrakx-e05ddb281beb452808a0f3669c93c907acf1fa77.tar
drakx-e05ddb281beb452808a0f3669c93c907acf1fa77.tar.gz
drakx-e05ddb281beb452808a0f3669c93c907acf1fa77.tar.bz2
drakx-e05ddb281beb452808a0f3669c93c907acf1fa77.tar.xz
drakx-e05ddb281beb452808a0f3669c93c907acf1fa77.zip
- methods with no argument are not functions with no argument!
- perl_checker fixes
Diffstat (limited to 'perl-install/interactive/newt.pm')
-rw-r--r--perl-install/interactive/newt.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/interactive/newt.pm b/perl-install/interactive/newt.pm
index 087b19112..52ba9ce57 100644
--- a/perl-install/interactive/newt.pm
+++ b/perl-install/interactive/newt.pm
@@ -23,11 +23,11 @@ sub new {
bless {}, $_[0];
}
-sub enter_console() { Newt::Suspend() }
-sub leave_console() { Newt::Resume() }
-sub suspend() { Newt::Suspend() }
-sub resume() { Newt::Resume() }
-sub end() { Newt::Finished() }
+sub enter_console { Newt::Suspend() }
+sub leave_console { Newt::Resume() }
+sub suspend { Newt::Suspend() }
+sub resume { Newt::Resume() }
+sub end { Newt::Finished() }
sub exit { end(); exit($_[1]) }
END { end() }