in reply to Re^4: 'perl Makefile.PL' warning for v5.20 to v5.24
in thread 'perl Makefile.PL' warning for v5.20 to v5.24
And, as a further guess, the way $self->{ABSTRACT} is assigned its value, has something to do with it.
It's all very strange.
I, in fact, did get to wonder whether the change was in the assignment of $self->{ABSTRACT}, and *not* in the behaviour of $self->{ABSTRACT} =~ m![[:cntrl:]]+!
However, I didn't really look at how the former was being assigned.
If I could reproduce the issue I reckon I'd be wanting to understand it.
But I can't reproduce it ... so it's really not all that important to me. (I guess I just find it "intriguing" rather than "important".)
To satisfy my own curiosity, I fiddled about with the following script, on both Linux and Windows:
So I don't understand how a lone \r is being treated differently to a lone \n or \r\n in some cases for you.
Cheers,
Rob
It's all very strange.
I, in fact, did get to wonder whether the change was in the assignment of $self->{ABSTRACT}, and *not* in the behaviour of $self->{ABSTRACT} =~ m![[:cntrl:]]+!
However, I didn't really look at how the former was being assigned.
If I could reproduce the issue I reckon I'd be wanting to understand it.
But I can't reproduce it ... so it's really not all that important to me. (I guess I just find it "intriguing" rather than "important".)
To satisfy my own curiosity, I fiddled about with the following script, on both Linux and Windows:
But it just outputs:use strict; use warnings; my $count = 0; for my $s(chr(13) . chr(10), chr(10) . chr(13), chr(10) , chr(13) , '0' . chr(13) . chr(10), '0' . chr(10) . chr(13), '0' . chr(10) , '0' . chr(13) , ) { $count++; print "$count match\n" if ($s && $s =~ m![[:cntrl:]]+!); }
on every perl I run it on.1 match 2 match 3 match 4 match 5 match 6 match 7 match 8 match
So I don't understand how a lone \r is being treated differently to a lone \n or \r\n in some cases for you.
Cheers,
Rob
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: 'perl Makefile.PL' warning for v5.20 to v5.24
by kcott (Archbishop) on Jul 02, 2022 at 04:20 UTC | |
by eyepopslikeamosquito (Archbishop) on Jul 02, 2022 at 06:20 UTC |
In Section
Seekers of Perl Wisdom