Want Perl equivalent of linux strings command to extract strings from binary file
I'm looking for a Perl function that does the same thing as the Linux strings command.
The strings command will output a list of strings contained in any file, including a binary file that has strings embedded with in.
Regular expressions don't seem to work very well (or at all) with searching for strings in binary files.
I've searched here already but not found answers.
I want a Perl equivalent as I want to make my Perl code platform independent. If I call strings from Perl then I have made my code dependent on the strings command being available from the underlying operating system.