Name : perl-PerlIO-eol
| |
Version : 0.19
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2023-07-20 18:27:35
|
Group : Unspecified
| Source RPM : perl-PerlIO-eol-0.19-lp155.1.1.src.rpm
|
Size : 0.05 MB
| |
Packager : https://www_suse_com/
| |
Summary : PerlIO layer for normalizing line endings
|
Description :
This layer normalizes any of \'CR\', \'LF\', \'CRLF\' and \'Native\' into the designated line ending. It works for both input and output handles.
If you specify two different line endings joined by a \'-\', it will use the first one for reading and the second one for writing. For example, the \'LF-CRLF\' encoding means that all input should be normalized to \'LF\', and all output should be normalized to \'CRLF\'.
By default, data with mixed newlines are normalized silently. Append a \'!\' to the line ending will raise a fatal exception when mixed newlines are spotted. Append a \'?\' will raise a warning instead.
It is advised to pop any potential \':crlf\' or encoding layers before this layer; this is usually done using a \':raw\' prefix.
This module also optionally exports a \'eol_is_mixed\' function; it takes a string and returns the position of the first inconsistent line ending found in that string, or \'0\' if the line endings are consistent.
The \'CR\', \'LF\', \'CRLF\' and \'NATIVE\' constants are also exported at request.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-P/15.5/x86_64 |