diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-11-14 16:39:56 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-11-14 16:39:56 +0000 |
commit | d6ed9e5423700f460ef04b456b5beb5249faff92 (patch) | |
tree | f172a5106e7777929e804984385e5aedf8862796 /perl-install/printer/data.pm | |
parent | 63feea58c6f6ebaa497c518073ff2d06f42173fa (diff) | |
download | drakx-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.pm | 7 |
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', |