in reply to Re: how to read data for every 280 character ?
in thread how to read data for every 280 character ?

would be that you have a typical end-of-line type of problem.
$/=280; means readline reads 280 bytes at a time, not lines (so line-ending characters don't matter).
C:\>perl -e"die unpack q~H*~, $/" 0a at -e line 1.