Whois(3pm)
π Whois(3pm) β the manual page, but make it cute π
okay bestie, so this is Whois, a Perl thingy from the 3pm section of the manual (that's the Perl module section, iykyk). It's a whole module for making queries to whois servers. slay. let's get into it β¨
π¦ NAME π¦
Whois β it's a Perl extension whose whole entire job is making queries to the whois servers. that's it, that's the vibe π
πΈ SYNOPSIS πΈ
here's what it looks like in the wild, copy-paste ready, no cap:
use Whois;
$whois = new Whois('Host' => 'whois.ripe.net');
die("Failed to create object") unless(ref($whois));
die($whois->GetError()) if($whois->GetError());
if($whois->Query("BAT-RIPE")) {
printf("Query error: %s\n", $whois->GetError());
exit;
}
my $result = $whois->GetResult();
if($result) {
print "$result\n";
}
else {
printf("No results: %s\n", $whois->GetError());
}
$whois->Close();
like, the flow is: make the object, vibe check it, fire off a Query, grab the GetResult, and Close on your way out. main character energy fr fr π
β¨ DESCRIPTION β¨
okay so warning: this section is stub documentation. it was created by h2xs, and it looks like the author of the extension was negligent enough to leave the stub unedited. π
so like⦠the description is literally:
Blah blah blah.
yeah. that's the whole description bestie. not me reading the docs and getting Blah blah blah π the tea is that the real info lives in the code and in the synopsis above. periodt.
π AUTHOR π
Timur Bakeyev <timur@ripe.net> β the icon who wrote this π«Ά
π SEE ALSO π
perl(1)β go read it, bestie, it's the blueprint π
and that's a wrap on the whole page! this beauty comes to you from perl v5.32.0, dated 2021-01-26 πΈ stay curious, stay iconic, and go query some whois servers responsibly β¨π
π¦ where this page comes from
- debian bookworm: asused 3.72-14 Β· MIT
- debian trixie: asused 3.72-14 Β· MIT
- ubuntu jammy: asused 3.72-14 Β· MIT
- ubuntu noble: asused 3.72-14 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms