1Tie::Handle::Offset(3)User Contributed Perl DocumentationTie::Handle::Offset(3)
2
3
4

NAME

6       Tie::Handle::Offset - Tied handle that hides the beginning of a file
7

VERSION

9       version 0.004
10

SYNOPSIS

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

DESCRIPTION

17       This modules provides a file handle that hides the beginning of a file.
18       After opening, the file is positioned at the offset location. "seek()"
19       and "tell()" calls are modified to preserve the offset.
20
21       For example, "tell($fh)" will return 0, though the actual file position
22       is at the offset.  Likewise, "seek($fh,80,0)" will seek to 80 bytes
23       from the offset instead of 80 bytes from the actual start of the file.
24

SUPPORT

26   Bugs / Feature Requests
27       Please report any bugs or feature requests through the issue tracker at
28       <https://github.com/dagolden/tie-handle-offset/issues>.  You will be
29       notified automatically of any progress on your issue.
30
31   Source Code
32       This is open source software.  The code repository is available for
33       public review and contribution under the terms of the license.
34
35       <https://github.com/dagolden/tie-handle-offset>
36
37         git clone https://github.com/dagolden/tie-handle-offset.git
38

AUTHOR

40       David Golden <dagolden@cpan.org>
41
43       This software is Copyright (c) 2012 by David Golden.
44
45       This is free software, licensed under:
46
47         The Apache License, Version 2.0, January 2004
48
49
50
51perl v5.32.1                      2021-01-27            Tie::Handle::Offset(3)
Impressum