diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-07-24 22:39:28 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-07-24 22:39:28 +0000 |
commit | b60c0cb8f67d745626fec6f0c8540818f24e91a6 (patch) | |
tree | 783189547888703c391b1719cf9ceaacb1e1aa63 /perl-install/mouse.pm | |
parent | 0a96d505550060312a1cd9a04a9ae9bf23ebdaa2 (diff) | |
download | drakx-b60c0cb8f67d745626fec6f0c8540818f24e91a6.tar drakx-b60c0cb8f67d745626fec6f0c8540818f24e91a6.tar.gz drakx-b60c0cb8f67d745626fec6f0c8540818f24e91a6.tar.bz2 drakx-b60c0cb8f67d745626fec6f0c8540818f24e91a6.tar.xz drakx-b60c0cb8f67d745626fec6f0c8540818f24e91a6.zip |
move to MDK::Common, bool->to_bool
Diffstat (limited to 'perl-install/mouse.pm')
-rw-r--r-- | perl-install/mouse.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm index 00c1e6b73..19d6bb9c6 100644 --- a/perl-install/mouse.pm +++ b/perl-install/mouse.pm @@ -6,7 +6,7 @@ use strict; #-###################################################################################### #- misc imports #-###################################################################################### -use common qw(:common :system :functional :file); +use common; use modules; use detect_devices; use run_program; @@ -185,7 +185,7 @@ sub write { if (arch() =~ /ppc/) { my $s = join('', - "dev.mac_hid.mouse_button_emulation = " . bool($mouse->{button2_key} || $mouse->{button3_key}) . "\n", + "dev.mac_hid.mouse_button_emulation = " . to_bool($mouse->{button2_key} || $mouse->{button3_key}) . "\n", if_($mouse->{button2_key}, "dev.mac_hid.mouse_button2_keycode = $mouse->{button2_key}\n"), if_($mouse->{button3_key}, "dev.mac_hid.mouse_button3_keycode = $mouse->{button3_key}\n"), ); |