summaryrefslogtreecommitdiffstats
path: root/perl-install/mouse.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-06-11 23:13:24 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-06-11 23:13:24 +0000
commit0405309dde44eb8c66d4f4612860a93e267e6c84 (patch)
tree68d07becbf309d7b0195e65807c7adff01a3116d /perl-install/mouse.pm
parentf0797699d8777c03d97e8b21d49b4c2455149603 (diff)
downloaddrakx-0405309dde44eb8c66d4f4612860a93e267e6c84.tar
drakx-0405309dde44eb8c66d4f4612860a93e267e6c84.tar.gz
drakx-0405309dde44eb8c66d4f4612860a93e267e6c84.tar.bz2
drakx-0405309dde44eb8c66d4f4612860a93e267e6c84.tar.xz
drakx-0405309dde44eb8c66d4f4612860a93e267e6c84.zip
- enhance perl2fcalls (which now handle /xxx(...)/ as a regexp in more cases)
- remove the use of /xxx (...)/x by /xxx(...)/ as perl2fcalls is getting smart => make gc happy which is very important, what would we be without him?
Diffstat (limited to 'perl-install/mouse.pm')
-rw-r--r--perl-install/mouse.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm
index cdcc453f5..00c1e6b73 100644
--- a/perl-install/mouse.pm
+++ b/perl-install/mouse.pm
@@ -163,7 +163,7 @@ sub fullname2mouse {
sub serial_ports() { map { "ttyS$_" } 0..7 }
sub serial_port2text {
- $_[0] =~ /ttyS (\d+)/x ? "$_[0] / COM" . ($1 + 1) : $_[0];
+ $_[0] =~ /ttyS(\d+)/ ? "$_[0] / COM" . ($1 + 1) : $_[0];
}
sub read {