in reply to delete FF's from a file
Several issues with this. Here are a few hints:
- The first arg (file handle) for for open is usually bare (no $)
- Your search is made for a plain text file, not binary data.
- Your regular expression is way off (no offence): "\F", "F" and the 16 counts of strings of any length
- 16 FF's would be 'FF' x 16 ... if you were going for a text string rather than binary data
You should review common "regular expressions" and then searching binary data in particular.
In Section
Seekers of Perl Wisdom