M
Monty
I have very large image files that I need to search for consecutive
values of zero. the files are around 800 MB in szie and don't lend
themselves to being loaded into memory for manipulation.
I thought Tie::File might do the trick as it ties an array directly to
a file, but it's written to expect some sort of end-of-line marker,
whereas none of my data has that. Tie::File also won't let me set the
end-of-line marker to empty or null, so I can't use that module.
According to the Tie::File manpage, there doesn't seem to be a way of
connecting an array to a file without these EOL markers, and I didn't
see any options for binary files in the documentation.
Can some one recommend a method for parsing through this much data,
array style, that would let me compare values as though there were
adjacent members of a two-dimensional array?
Thanks
values of zero. the files are around 800 MB in szie and don't lend
themselves to being loaded into memory for manipulation.
I thought Tie::File might do the trick as it ties an array directly to
a file, but it's written to expect some sort of end-of-line marker,
whereas none of my data has that. Tie::File also won't let me set the
end-of-line marker to empty or null, so I can't use that module.
According to the Tie::File manpage, there doesn't seem to be a way of
connecting an array to a file without these EOL markers, and I didn't
see any options for binary files in the documentation.
Can some one recommend a method for parsing through this much data,
array style, that would let me compare values as though there were
adjacent members of a two-dimensional array?
Thanks