summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Command/UserControl.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-06-21 07:53:03 +0000
committerfukachan <fukachan>2002-06-21 07:53:03 +0000
commitfd404a0c1428589a5bc101fe153a0ea1a9acdc7e (patch)
treeb29c58307012102052e8096df57814eb0733923d /fml/lib/FML/Command/UserControl.pm
parent68f3459d61839d25876c6d738eb662ffdfe8c16b (diff)
downloadfml8-fd404a0c1428589a5bc101fe153a0ea1a9acdc7e.tar.gz
fml8-fd404a0c1428589a5bc101fe153a0ea1a9acdc7e.tar.bz2
fml8-fd404a0c1428589a5bc101fe153a0ea1a9acdc7e.zip
use IO::Adapter->get_next_key() not getline() for member list up
Diffstat (limited to 'fml/lib/FML/Command/UserControl.pm')
-rw-r--r--fml/lib/FML/Command/UserControl.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/fml/lib/FML/Command/UserControl.pm b/fml/lib/FML/Command/UserControl.pm
index c3efe99e..c931ee2f 100644
--- a/fml/lib/FML/Command/UserControl.pm
+++ b/fml/lib/FML/Command/UserControl.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: UserControl.pm,v 1.4 2002/04/07 12:13:03 fukachan Exp $
+# $FML: UserControl.pm,v 1.5 2002/04/10 09:57:22 fukachan Exp $
#
package FML::Command::UserControl;
@@ -122,7 +122,7 @@ sub userlist
if (defined $obj) {
my $x = '';
$obj->open || croak("cannot open $map");
- while ($x = $obj->getline()) { print $wh $x; }
+ while ($x = $obj->get_next_key()) { print $wh $x, "\n"; }
$obj->close;
}
else {