in reply to Re: Parsing 12GB Entourage database in pieces...
in thread Parsing 12GB Entourage database in pieces...

Since your data of interest never has nulls in it

remember that the 16 bytes of binary data could contain "\0\0", and every time this actually happens one looses that message with your method.

  • Comment on Re^2: Parsing 12GB Entourage database in pieces...

Replies are listed 'Best First'.
Re^3: Parsing 12GB Entourage database in pieces...
by kyle (Abbot) on Aug 28, 2008 at 19:29 UTC

    Hmmm, good point. Maybe...

    $/ = "\0\0"; while (<>) { $_ .= <> while ( ! eof && length() < length("MSrc$/")+16 ); # if ... }