| 1 |
Source: libtie-handle-offset-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Uploaders: gregor herrmann <[email protected]> |
| 4 |
Section: perl |
| 5 |
Testsuite: autopkgtest-pkg-perl |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper-compat (= 12) |
| 8 |
Build-Depends-Indep: perl |
| 9 |
Standards-Version: 4.2.1 |
| 10 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libtie-handle-offset-perl |
| 11 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libtie-handle-offset-perl.git |
| 12 |
Homepage: https://metacpan.org/release/Tie-Handle-Offset |
| 13 |
|
| 14 |
Package: libtie-handle-offset-perl |
| 15 |
Architecture: all |
| 16 |
Depends: ${misc:Depends}, |
| 17 |
${perl:Depends} |
| 18 |
Multi-Arch: foreign |
| 19 |
Description: module to provide tied handle that hides the beginning of a file |
| 20 |
Tie::Handle::Offset provides a file handle that hides the beginning of a |
| 21 |
file. After opening, the file is positioned at the offset location. "seek()" |
| 22 |
and "tell()" calls are modified to preserve the offset. |
| 23 |
. |
| 24 |
For example, "tell($fh)" will return 0, though the actual file position is at |
| 25 |
the offset. Likewise, "seek($fh,80,0)" will seek to 80 bytes from the offset |
| 26 |
instead of 80 bytes from the actual start of the file. |
| 27 |
. |
| 28 |
The included Tie::Handle::SkipHeader module automatically hides an |
| 29 |
email-style message header. After opening the file, it reads up to a blank or |
| 30 |
white-space-only line and sets the offset to the next byte. |