in reply to Re^2: perl -pie "???"
in thread perl -pie "???"

The -i switch takes an optional backup extension, so you can no longer combine it with other following option flags in modern perls. Write it instead as:

perl -ni -e '...' file

Hugo