On Thursday, January 06, 2005 10:52 AM, Mike O'Regan wrote: >_get_chunk() is coded to handle "any combination of \r and \n of any >length". Is it not functioning that way?
_get_chunk() seems to work fine. The problem is with decode(), which depends upon the line endings having been converted to \n before the string is passed into decode(). I'll try making the change I mentioned earlier (adding the conversion code to decode()) tonight, to see if that fixes the problem, and will probably update 81.decode.t to use the lineendings*.lif files to verify that it works. I'll also try to remember this as I work on MARC::File::MARCMaker. Bryan Baldus [EMAIL PROTECTED] [EMAIL PROTECTED] http://home.inwave.com/eija