summaryrefslogtreecommitdiff
path: root/modules/Parser.pm
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2004-01-07 12:25:46 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2004-01-07 12:25:46 +0000
commit137046d1b6ac2156b2aff49acba0f06d789df09a (patch)
treebc2da779f3f63993bd51297805167a04798ee40b /modules/Parser.pm
parent660dda459eebd822caf88cee5dad7548a0f42132 (diff)
downloadMPC-137046d1b6ac2156b2aff49acba0f06d789df09a.tar.gz
ChangeLogTag: Wed Jan 7 06:24:54 2004 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'modules/Parser.pm')
-rw-r--r--modules/Parser.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/Parser.pm b/modules/Parser.pm
index f03fd2c5..2ccbad5c 100644
--- a/modules/Parser.pm
+++ b/modules/Parser.pm
@@ -123,7 +123,7 @@ sub read_file {
$self->{'line_number'} = 0;
if (open($ih, $input)) {
my($line) = '';
- while($_ = $ih->getline()) {
+ while(<$ih>) {
($status, $errorString) = $self->collect_line($ih, \$line, $_);
if (!$status) {