|
|
|
|
|
by mpyne
269 days ago
|
|
And if you are using a newer Perl they sometimes add features that aren't enabled by default unless you opt-in with a 'use v5.38' style declaration. If you want those features on in your one-liner you can use -E instead of -e perl -pi -E '...' file.txt
(I used to need this long ago when I wanted to use the then-new "say" in my one-liners) |
|