summaryrefslogtreecommitdiffstats
path: root/perl-install/network/tools.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-06 22:52:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-06 22:52:57 +0000
commit8cb21146557a468e517db3123d481e5715971c7a (patch)
tree757b85c18f3a46f1ce331891e7f7aaf98a8b6702 /perl-install/network/tools.pm
parentd3271db5a1609ee14b6f3a57aed7925644a5dabe (diff)
downloaddrakx-backup-do-not-use-8cb21146557a468e517db3123d481e5715971c7a.tar
drakx-backup-do-not-use-8cb21146557a468e517db3123d481e5715971c7a.tar.gz
drakx-backup-do-not-use-8cb21146557a468e517db3123d481e5715971c7a.tar.bz2
drakx-backup-do-not-use-8cb21146557a468e517db3123d481e5715971c7a.tar.xz
drakx-backup-do-not-use-8cb21146557a468e517db3123d481e5715971c7a.zip
- have "local *FILEHANDLE" before each "open FILEHANDLE, ..."
- use some "cat_" and "output" where possible
Diffstat (limited to 'perl-install/network/tools.pm')
-rw-r--r--perl-install/network/tools.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm
index dba446beb..2b9a4448f 100644
--- a/perl-install/network/tools.pm
+++ b/perl-install/network/tools.pm
@@ -207,6 +207,7 @@ sub test_connected {
}
sub connected2 {
+ local *KID_TO_READ;
my $pid = open(KID_TO_READ, "-|");
if ($pid) { # parent
$kid_pid = $pid;