in reply to Binary files


Just in case you, or someone else down the line, run this on Windows you should binmode the filehandle:
... binmode XLSFILE; ...

--
John.