mpeppler has asked for the wisdom of the Perl Monks concerning the following question:
On Unix I simply run
and grep for the version string.strings $filename
I need to do the same thing for systems where strings isn't available (typically Win32). I suppose I could simply open the file in my Makefile.PL and use a normal read/pattern match loop, maybe using sysread() to avoid slurping in too much at a time given the size of these binary files.
Any other suggestions?
Thanks,
Michael
|
|---|