Tie::Handle::Offset(3pm)

Tie::Handle::Offset3pm

Tied handle that hides the beginning of a file

Usage

  use Tie::Handle::Offset;
  tie *FH, 'Tie::Handle::Offset', "<", $filename, { offset => 20 };

Version

version 0.004

Overview

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.

For example, "tell($fh)" will return 0, though the actual file position is at the offset. Likewise, "seek($fh,80,0)" will seek to 80 bytes from the offset instead of 80 bytes from the actual start of the file.

Support

Bugs / Feature Requests

Please report any bugs or feature requests through the issue tracker at <https://github.com/dagolden/tie-handle-offset/issues>. You will be notified automatically of any progress on your issue.

Source Code

This is open source software. The code repository is available for public review and contribution under the terms of the license.

<https://github.com/dagolden/tie-handle-offset>

  git clone https://github.com/dagolden/tie-handle-offset.git

Releases

4 releases since Debian 10 (Buster); the text changed 2 times.

  1. 10
  2. 11
  3. 12–13

Author

David Golden <[email protected]>

From libtie-handle-offset-perl 0.004-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.