jerrygarciuh has asked for the wisdom of the Perl Monks concerning the following question:
I am attempting to track the redemption period status of a client's domain via a script. Initially I used Net::Whois but it produced a "No Match" response (due to the redemption period status at InterNIC I believe).
Because I know running a whois from the commandline is producing the output I want I changed to simply capturing the output via backticks
my $output = `whois somewebsite.com`;.
This produces the following:
[Querying whois.internic.net] [Redirected to whois.OnlineNIC.com] [Querying whois.OnlineNIC.com] [whois.OnlineNIC.com]
My question is why the output is abbreviated when I know the commandline output holds what I need. I thought I was capturing all of the command output with the back ticks.
Any advice greatly appreciated.
jg
_____________________________________________________
"The man who grasps principles can successfully select his own methods.
The man who tries methods, ignoring principles, is sure to have trouble.
~ Ralph Waldo Emerson
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Abbreviated output when attempting to do whois via script
by PodMaster (Abbot) on Aug 01, 2004 at 16:07 UTC | |
by jerrygarciuh (Curate) on Aug 01, 2004 at 17:04 UTC | |
by simonm (Vicar) on Aug 01, 2004 at 21:47 UTC | |
by jerrygarciuh (Curate) on Aug 02, 2004 at 00:41 UTC | |
Re: Abbreviated output when attempting to do whois via script
by Thelonius (Priest) on Aug 02, 2004 at 01:37 UTC |