in reply to Re: How to read each 232 bytes of input data ?
in thread How to read each 232 bytes of input data ?

Just don't forget (even better, make it 'fingertip memory') to localize $/:
local $/ = \232; ...

Update And as Roboticus knowingly pinpointed, I should mention here for completeness that the localization should be kept 'as local as possible', so maybe the code should look like
{ local $/ = \232; while (<$input>) { ... } }