Rex::Gr...p::File(3)
β¨ NAME β¨
okay bestie, welcome to the Rex::Gr...p::File(3) page β it's from the User Contributed Perl Documentation β and the module is literally Rex::Group::Lookup::File: read hostnames from a file. π
πΈ DESCRIPTION πΈ
With this module you can define hostgroups out of a file. That's the whole vibe: file goes in, hostgroups come out, slay. π
π¦ SYNOPSIS π¦
bestie, here's the exact energy:
use Rex::Group::Lookup::File;
group "webserver" => lookup_file("./hosts.lst");
π EXPORTED FUNCTIONS π
π lookup_file($file) π
With this function you can read hostnames from a file β every hostname in one line, fr fr. no cap. β¨
like, lowkey iconic:
group "webserver" => lookup_file("./webserver.lst");
group "mailserver" => lookup_file("./mailserver.lst");
mwah π this page is serving perl v5.42.3 and is dated 2023-08-05 β bye bestie, go read those hostnames π«Άπ
π¦ where this page comes from
- nixos 26.05: perl5.42.3-Rex 1.14.3
- nixpkgs unstable: perl5.42.3-Rex 1.14.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms