Tie::H...pHeader(3pm)
β¨ Tie::Handle::SkipHeader β bestie edition β¨
okay so this is a Perl module from the User Contributed Perl Documentation collection, and it's literally one of those tiny little gems that does exactly one thing and does it flawlessly. π
π NAME π
Tie::Handle::SkipHeader β a tied handle that hides an RFC822-style header. π
Like, you tie a filehandle, and it justβ¦ skips the header for you. The way that it hides the header is so iconic. π¦
πΈ VERSION πΈ
version 0.004 β¨
π SYNOPSIS π
Bestie, here's the whole vibe:
use Tie::Handle::SkipHeader;
tie *FH, 'Tie::Handle::SkipHeader', "<", $filename;
That's it. That's the whole thing. Slay. π
π¦ DESCRIPTION π¦
So Tie::Handle::SkipHeader is a subclass of Tie::Handle::Offset β yes, it's giving "I inherited good genes" energy π
What it does: it automatically hides an email-style message header. π§π
Here's the tea, fr fr: after opening the file, it reads up to a blank or white-space-only line, and then it sets the offset to the next byte. So like, the header just β¨vanishesβ¨ and you're reading the actual content like nothing ever happened. No cap. π«Ά
π AUTHOR π
David Golden <dagolden@cpan.org> π
π COPYRIGHT AND LICENSE π
This software is Copyright (c) 2012 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004 πβ¨
And that's the whole page, bestie! πΈ This was generated for perl v5.36.0 and dated 2022-11-20, and honestly? A lil retro, a lil timeless, main character energy all the way. π Mwah. π π
π¦ where this page comes from
- debian bookworm: libtie-handle-offset-perl 0.004-2 Β· Apache-2.0
- debian trixie: libtie-handle-offset-perl 0.004-2 Β· Apache-2.0
- ubuntu noble: libtie-handle-offset-perl 0.004-2 Β· Apache-2.0
- ubuntu resolute: libtie-handle-offset-perl 0.004-2 Β· Apache-2.0
- ubuntu stonking: libtie-handle-offset-perl 0.004-2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms