-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I am utilizing following code:
if ($epp->check_domain($domainToCheck) == 1) {
print "Domain is available\n" ;
} else {
my $info = $epp->domain_info($domainToCheck);
printf("Domain was registered on %s by %s\n", $info->{crDate}, $info->{crID});
}
And i get the error:
Can't locate object method "check_domain" via package "epp" (perhaps you forgot to load "epp"?) at twhepp.pl line 56.
Wed Jun 12 12:41:44 2024 (93337): DESTROY() method called
Wed Jun 12 12:41:44 2024 (93337): logging out
Wed Jun 12 12:41:44 2024 (93337): sending a string to the server
Wed Jun 12 12:41:44 2024 (93337): C: <?xml version="1.0" encoding="UTF-8"?>
Wed Jun 12 12:41:44 2024 (93337): C: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
Wed Jun 12 12:41:44 2024 (93337): C: <command>
Wed Jun 12 12:41:44 2024 (93337): C: <logout/>
Wed Jun 12 12:41:44 2024 (93337): C: <clTRID>05837103ae53674a3bbbc993230591633f89bc09</clTRID>
Wed Jun 12 12:41:44 2024 (93337): C: </command>
Wed Jun 12 12:41:44 2024 (93337): C: </epp>
Wed Jun 12 12:41:44 2024 (93337): reading frame, waiting 5 seconds before timeout
Wed Jun 12 12:41:44 2024 (93337): setting timeout alarm for receiving frame
Wed Jun 12 12:41:44 2024 (93337): unsetting timeout alarm after successful receive
Wed Jun 12 12:41:44 2024 (93337): S: <?xml version="1.0" encoding="UTF-8" standalone="no"?>
Wed Jun 12 12:41:44 2024 (93337): S: <epp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:ietf:params:xml:ns:epp-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
Wed Jun 12 12:41:44 2024 (93337): S: <response>
Wed Jun 12 12:41:44 2024 (93337): S: <result code="1500">
Wed Jun 12 12:41:44 2024 (93337): S: <msg>Command completed successfully; ending session</msg>
Wed Jun 12 12:41:44 2024 (93337): S: </result>
Wed Jun 12 12:41:44 2024 (93337): S: <trID>
Wed Jun 12 12:41:44 2024 (93337): S: <clTRID>05837103ae53674a3bbbc993230591633f89bc09</clTRID>
Wed Jun 12 12:41:44 2024 (93337): S: <svTRID>20240612144041095295-q4h3z5-reg1114-NORID</svTRID>
Wed Jun 12 12:41:44 2024 (93337): S: </trID>
Wed Jun 12 12:41:44 2024 (93337): S: </response>
Wed Jun 12 12:41:44 2024 (93337): S: </epp>
Wed Jun 12 12:41:44 2024 (93337): disconnecting from server
$epp variable are utilized with my $epp = Net::EPP::Simple->new(i removed the sensitive EPP credentials);
and i am using: use Net::EPP::Simple;
Metadata
Metadata
Assignees
Labels
No labels