Snippets Collections
     use Net::DLookup;

     # Initialize Net::DLookup object
     my $dlu = Net::DLookup -> new;

     # Replace domain definitions from a file
     $dlu -> LoadTLD($file, 1);

     # Add domain definitions from a file
     $dlu -> LoadTLD($file, 0);

     # Check domain name validity and assign it to the object
     @errors = $dlu -> IsValid($domain);

     # Return availability
     @response = $dlu -> DoWhois(0);

     # Return availability and registrar information
     @response = $dlu -> DoWhois(1);
star

Fri Aug 19 2022 19:09:31 GMT+0000 (Coordinated Universal Time) https://www.gsp.com/cgi-bin/man.cgi?section

#perl #sockets

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension