in reply to Whois Syntax Issue
I am getting syntax errors at this line use Net::Whois::IP qw(whoisip_query);
- Post the exact error message in "code" tags.
- Are you sure you have the module installed? perl -MNet::Whois::IP -e 1
- Why did you post 2 code examples? Does your other syntax error belong to the 1st or 2nd example?
- If you don't need Net::Whois in your 1st example, you should delete the use line.