2 my $svcnum = $cgi->param('svcnum');
3 my $custnum = $cgi->param('custnum');
4 my $domain = $cgi->param('domain');
7 <%= header("Whois $domain", menubar(
9 ? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
13 "View this domain (#$svcnum)" => "${p}view/svc_domain.cgi?$svcnum",
16 <% my $whois = eval { whois($domain) };
18 ( $whois = $@ ) =~ s/ at \/.*Net\/Whois\/Raw\.pm line \d+.*$//s;
23 <PRE><%= $whois %></PRE>