|
|
| Do you know where your variables are? | |
| PerlMonks |
Why dot does not match newline in oneliner but it does in script, with /s modifier?by bliako (Abbot) |
| on Oct 24, 2025 at 14:10 UTC ( [id://11166585]=perlquestion: print w/replies, xml ) | Need Help?? |
|
bliako has asked for the wisdom of the Perl Monks concerning the following question: Dear Monks, I can not understand why this works:
but this does not (linux terminal):
I have checked if there are mistaken shell interpolations to the oneliner script, but there are not, I think:
Edit: the same problem if the oneliner operates on a file:
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||