Alien:...termkey(3pm)

πŸ“¦
version 0.22 Β· 2 versions
, in fedora 43

πŸ’– 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