Think about Loose Coupling | |
PerlMonks |
Re^2: Question regarding a regexby afoken (Chancellor) |
on Jul 23, 2021 at 08:09 UTC ( [id://11135335]=note: print w/replies, xml ) | Need Help?? |
It could give a false positive if every byte of a 'binary' file happened to contain the code of an ASCII character. (Can you tolerate an extremely rare error?) I know only one binary file that intentionally contains only ASCII characters: The EICAR test file. Here it is, in its full glory:
It is a DOS executable that just prints the embedded text "EICAR-STANDARD-ANTIVIRUS-TEST-FILE!" and then exits. Alexander
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
In Section
Seekers of Perl Wisdom
|
|