in reply to Finding large blocks consisting of a single character (but within certain parameters...)
In scalar context, it should return the offset at the start of the first block of data in the binary file that fits the criteria (or undefined if there are none), while in list context, it should return a list containing the offsets of ALL blocks that fit the criteria.
Are these returned offsets, the offsets within the file of the 32k blocks containing matching blocks of null byte blocks? Or the offsets of the null byte blocks within the 32k blocks? Or the offset of null byte blocks within the file?
What does it return in a scalar context if the first 32k block that contains a matching, qualifying block, contains more than one?
|
|---|