summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-12-18 16:21:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-12-18 16:21:39 +0000
commit298735afc1d13e6ee965f898da7af319627564a5 (patch)
treec7c83900b53b353aa8ec1608514ffabcd9215760
parent7457779a9cddd7265eda4653402ca3e1134c3f3d (diff)
downloaddrakx-298735afc1d13e6ee965f898da7af319627564a5.tar
drakx-298735afc1d13e6ee965f898da7af319627564a5.tar.gz
drakx-298735afc1d13e6ee965f898da7af319627564a5.tar.bz2
drakx-298735afc1d13e6ee965f898da7af319627564a5.tar.xz
drakx-298735afc1d13e6ee965f898da7af319627564a5.zip
help perl_checker knowing packages are used as classes
-rw-r--r--perl-install/Newt/Newt.pm8
-rw-r--r--perl-install/standalone.pm1
2 files changed, 7 insertions, 2 deletions
diff --git a/perl-install/Newt/Newt.pm b/perl-install/Newt/Newt.pm
index 4b7c9a995..1a93f02a0 100644
--- a/perl-install/Newt/Newt.pm
+++ b/perl-install/Newt/Newt.pm
@@ -9,8 +9,12 @@ use vars qw($VERSION @ISA);
$VERSION = '0.01';
Newt->bootstrap($VERSION);
-package Newt::Component; # $Id$
-package Newt::Grid; # $Id$
+package Newt::Component;
+our @ISA = qw(); # help perl_checker
+
+package Newt::Grid;
+
+our @ISA = qw(); # help perl_checker
1;
diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm
index feb6ddc3a..93a653305 100644
--- a/perl-install/standalone.pm
+++ b/perl-install/standalone.pm
@@ -150,6 +150,7 @@ package pkgs_interactive;
use run_program;
use common;
+our @ISA = qw(); #- tell perl_checker this is a class
sub interactive::do_pkgs {
my ($in) = @_;