pkgsrc/textproc/p5-Tie-Handle-Offset/DESCR
jperkin 2e2bf22a70 Rename mail/p5-Tie-Handle-SkipHeader -> textproc/p5-Tie-Handle-Offset
Apologies, I used the subclass name instead of the primary module name.
2018-08-09 10:00:43 +00:00

8 lines
418 B
Text

This modules provides a file handle that hides the beginning of a file.
After opening, the file is positioned at the offset location. seek() and
tell() calls are modified to preserve the offset.
The Tie::Handle::SkipHeader subclass of Tie::Handle::Offset
automatically hides an email-style message header. After opening the
file, it reads up to a blank or white-space-only line and sets the
offset to the next byte.