Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • If I haven't been misinformed, -B uses the current STDIO buffer of the filehandle for its value, so you could seek near the end and possibly get a different result for -B as the file became "more binary".
    • Randal L. Schwartz
    • Stonehenge
    • For the record, I decided to just match each line against \0 as I read it, and that seems to work fine for now. Not quite as advanced a heuristic as -B, but good enough.

      J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers