summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2003-01-29 13:28:22 +0000
committerfukachan <fukachan>2003-01-29 13:28:22 +0000
commit46eaf08c03a1931784c0b2e06c7e43dbfd702b1d (patch)
tree94538fff73366dfcb3bb0a092d42da804a1d7165
parentc943f11f0003ebc30da882d055d54498cbccffed (diff)
downloadfml8-46eaf08c03a1931784c0b2e06c7e43dbfd702b1d.tar.gz
fml8-46eaf08c03a1931784c0b2e06c7e43dbfd702b1d.tar.bz2
fml8-46eaf08c03a1931784c0b2e06c7e43dbfd702b1d.zip
FNF: not use $_
-rw-r--r--fml/lib/FML/Process/Addr.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/fml/lib/FML/Process/Addr.pm b/fml/lib/FML/Process/Addr.pm
index 8049e2ee..fa7232c6 100644
--- a/fml/lib/FML/Process/Addr.pm
+++ b/fml/lib/FML/Process/Addr.pm
@@ -3,7 +3,7 @@
# Copyright (C) 2001,2002,2003 Ken'ichi Fukamachi
# All rights reserved.
#
-# $FML: Addr.pm,v 1.4 2003/01/03 10:15:40 fukachan Exp $
+# $FML: Addr.pm,v 1.5 2003/01/07 08:38:34 fukachan Exp $
#
package FML::Process::Addr;
@@ -233,9 +233,9 @@ sub _fmladdr
use FileHandle;
my $fh = new FileHandle "/etc/passwd";
if (defined $fh) {
- my ($user);
- while (<$fh>) {
- ($user) = split(/:/, $_);
+ my ($user, $buf);
+ while ($buf = <$fh>) {
+ ($user) = split(/:/, $buf);
# which definition survives ? alias > user ?
unless (defined $aliases->{ $user }) {