in reply to Re: search and replace (in-place) strings in binary
in thread search and replace (in-place) strings in binary
I wouldn't condemn one-liners per se, at least if they are written and used on-the-fly they are OK.
On the other hand, if you want to recall what you did (for the next audit, or simply for your own peace of mind), script/snippet files are easier to organize, plus you can add comments on why you did it that particular way etc.
In Section
Seekers of Perl Wisdom