summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/data.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-11-14 16:39:56 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-11-14 16:39:56 +0000
commitd6ed9e5423700f460ef04b456b5beb5249faff92 (patch)
treef172a5106e7777929e804984385e5aedf8862796 /perl-install/printer/data.pm
parent63feea58c6f6ebaa497c518073ff2d06f42173fa (diff)
downloaddrakx-d6ed9e5423700f460ef04b456b5beb5249faff92.tar
drakx-d6ed9e5423700f460ef04b456b5beb5249faff92.tar.gz
drakx-d6ed9e5423700f460ef04b456b5beb5249faff92.tar.bz2
drakx-d6ed9e5423700f460ef04b456b5beb5249faff92.tar.xz
drakx-d6ed9e5423700f460ef04b456b5beb5249faff92.zip
- printer::data : export all data structures
- cleanups - all code is now runnable in strict mode
Diffstat (limited to 'perl-install/printer/data.pm')
-rw-r--r--perl-install/printer/data.pm7
1 files changed, 5 insertions, 2 deletions
diff --git a/perl-install/printer/data.pm b/perl-install/printer/data.pm
index 61ae3bff5..2e20db2b5 100644
--- a/perl-install/printer/data.pm
+++ b/perl-install/printer/data.pm
@@ -2,13 +2,16 @@ package printer::data;
use strict;
use common;
+use vars qw(@ISA @EXPORT);
+
+@ISA = qw(Exporter);
+@EXPORT = qw(%lprcommand %spoolers %spooler_inv %shortspooler_inv);
+
# BUG, FIXME : this was neither declered nor setted anywhere before :
# maybe this should be swtiched :
# $lprcommand{stuff} => $spoolers{stuff}{print_command}
-our %lprcommand;
-
our %spoolers = ('ppq' => {
'help' => "/usr/bin/lphelp %s |",
'print_command' => 'lpr-pdq',