in reply to Re: How do I search this binary file?
in thread How do I search this binary file?
Hmm, on Win32 stat only returned 11 elements, not 13.
Found "Platforms that do not have rdev, blksize, or blocks will return these as '', so numeric comparison or manipulation of these fields may cause 'not numeric' warnings."
So, it should really be something like: $blocksize= (stat BIN)[11] || 2048;
|
|---|