---
name: "Whois"
section: "3pm"
platform: "linux"
package: "asused"
version: "3.72-14"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Whois"
---

# Whois(3pm)

Perl extension to make queries to the whois servers

## NAME

Whois - Perl extension to make queries to the whois servers

## SYNOPSIS

```
  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();
```

## DESCRIPTION

Stub documentation for Whois was created by h2xs. It looks like the author of the extension was negligent enough to leave the stub unedited.

Blah blah blah.

## AUTHOR

Timur Bakeyev \<timur@ripe.net\>

## SEE ALSO

[**perl**(1)](/perl/1.md).
