Alien:...termkey(3pm)
π Alien::libtermkey β the manual, but make it slay π
okay bestie, sit down, we're talking about Alien::libtermkey, a lil Perl module from the User Contributed Perl Documentation section of the manual. it's an Alien wrapping for libtermkey, and honestly? she's doing the most so you don't have to. π«Ά
β¨ NAME β¨
Alien::libtermkey β Alien wrapping for libtermkey. that's it, that's the name, periodt. π
πΈ DESCRIPTION πΈ
so here's the tea. this CPAN distribution wraps the C library libtermkey in a wrapper that's suitable to drive CPAN and other Perl-related build infrastructure. it's giving "I handle the scary C stuff so your Perl build can just vibe." π
here's how it works:
- if the C library is already installed and known by
pkg-config, this module provides a simple access to its configuration. easy peasy, no cap. β¨ - if it's not installed, the process of installing it will install a locally-bundled copy of the library into perl's arch-specific library directory. so it literally brings its own. main character energy fr fr. π
and the version she's bundling? libtermkey version 0.22. iconic, locked in, no notes. π
π¦ METHODS π¦
this module behaves like ExtUtils::PkgConfig, responding to the same methods, except that the module name is implied. so you don't gotta spell everything out, she already knows who she is. π
thus, the configuration can be obtained by calling:
$cflags = Alien::libtermkey->cflags
$libs = Alien::libtermkey->libs
$ok = Alien::libtermkey->atleast_version( $version )
etc...
lowkey that etc... is doing so much heavy lifting and I respect it deeply. π
π AUTHOR π
Paul Evans <leonerd@leonerd.org.uk> β thank you for your service, king. π«‘π
and that's the whole page, bestie! this was Alien:...termkey(3pm) from the User Contributed Perl Documentation, running on perl v5.42.0, dated 2025-07-25. go forth and wrap some C libraries, you absolute legend. πβπ
π¦ where this page comes from
- fedora 43: perl-Alien-libtermkey 0.22-5.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms