CPANPLUS-YACSmoke
view release on metacpan or search on metacpan
lib/CPANPLUS/YACSmoke/IniFiles.pm view on Meta::CPAN
if ($nextchar eq "\x0a") {
$self->{line_ends} .= "\x0a";
} else {
seek $fh, -1, 1;
}
}
}
# If there's a UTF BOM (Byte-Order-Mark) in the first
# character of the first line then remove it before processing
# (http://www.unicode.org/unicode/faq/utf_bom.html#22)
s/^//;
return $_;
} else {
local $/=$self->{line_ends};
return scalar <$fh>;
}
}
# Internal method, closes or resets the file handle. To be called
( run in 0.361 second using v1.01-cache-2.11-cpan-88abd93f124 )