SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Acme-InputRecordSeparatorIsRegexp rpm build for : OpenSuSE. For other distributions click perl-Acme-InputRecordSeparatorIsRegexp.

Name : perl-Acme-InputRecordSeparatorIsRegexp
Version : 0.07 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp155.1.1 Date : 2023-07-20 17:18:19
Group : Development/Libraries/Perl Source RPM : perl-Acme-InputRecordSeparatorIsRegexp-0.07-lp155.1.1.src.rpm
Size : 0.03 MB
Packager : https://www_suse_com/
Summary : Awk Doesn\'t Have to Be Better at Something
Description :
In the section about the \"input record separator\", \'perlvar\' famously quips

Remember: the value of $/ is a string, not a regex. *awk* has to be
better for something. :-)

This module provides a mechanism to read records from a file using a
regular expression as a record separator.

A common use case for this module is to read a text file that you don\'t
know whether it uses Unix (\'\
\'), Windows/DOS (\'\\r\
\'), or Mac (\'\\r\') style
line-endings, or even if it might contain all three. To properly parse this
file, you could tie its file handle to this package with the appropriate
regular expression:

my $fh = Symbol::gensym;
tie *$fh, \'Acme::InputRecordSeparatorIsRegexp\', \'\\r\
|\\r|\
\';
open $fh, \'< \', \'file-with-ambiguous-line-endings\';

AATTlines = < $fh>

while (my $line = < $fh>) { ... }

The lines produced by the \'< $fh>\' expression, like the builtin \'readline\'
function and operator, include the record separator at the end of the line,
so the lines returned may end in \'\\r\
\', \'\\r\', or \'\
\'.

Another use case is files that contain multiple types of records where a
different sequence of characters is used to denote the end of different
types of records.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-A/15.5/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Acme-InputRecordSeparatorIsRegexp-0.07-lp155.1.1.noarch.rpm
     

Provides :
perl(Acme::InputRecordSeparatorIsRegexp)
perl-Acme-InputRecordSeparatorIsRegexp

Requires :
perl(:MODULE_COMPAT_5.26.1)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Acme
/usr/lib/perl5/vendor_perl/5.26.1/Acme/InputRecordSeparatorIsRegexp.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Acme-InputRecordSeparatorIsRegexp
/usr/share/doc/packages/perl-Acme-InputRecordSeparatorIsRegexp/Changes
/usr/share/doc/packages/perl-Acme-InputRecordSeparatorIsRegexp/README
/usr/share/man/man3/Acme::InputRecordSeparatorIsRegexp.3pm.gz

 
ICM