diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-07-08 07:45:08 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-07-08 07:45:08 +0000 |
commit | 9555bb791920e8feace953f90cf908e864451b59 (patch) | |
tree | ecabc98ad8cb1019c81cf321ea5418d679950482 /perl-install/harddrake/data.pm | |
parent | 71c714077ded40469aa5887b939a60723308dba5 (diff) | |
download | drakx-backup-do-not-use-9555bb791920e8feace953f90cf908e864451b59.tar drakx-backup-do-not-use-9555bb791920e8feace953f90cf908e864451b59.tar.gz drakx-backup-do-not-use-9555bb791920e8feace953f90cf908e864451b59.tar.bz2 drakx-backup-do-not-use-9555bb791920e8feace953f90cf908e864451b59.tar.xz drakx-backup-do-not-use-9555bb791920e8feace953f90cf908e864451b59.zip |
various cleanups:
- move all harddrake modules to harddrake namespace
- replace two use by require so that it's not done at compil time
but at runtime
- there was a missing $ in harddrake::ui.pm
Diffstat (limited to 'perl-install/harddrake/data.pm')
-rw-r--r-- | perl-install/harddrake/data.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index d17b466db..01fa6be00 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -1,4 +1,4 @@ -package data; +package harddrake::data; use strict; use detect_devices; @@ -58,7 +58,7 @@ our @tree = sub { require printerdrake; printerdrake::auto_detect(class_discard->new) } ], ["SCANNER","Scanner", "scanner.png", "$sbindir/scannerdrake", sub { require scanner; scanner::findScannerUsbport() }], - ["MOUSE","Mouse", "hw_mouse.png", "$sbindir/mousedrake", sub { use mouse; &mouse::detect()}], + ["MOUSE","Mouse", "hw_mouse.png", "$sbindir/mousedrake", sub { require mouse; &mouse::detect()}], ["JOYSTICK","Joystick", "joystick.png", "", sub {}] # ["","Ideinterface", "Ideinterface.png", "", "STORAGE_IDE"], |