http://www.perlmonks.org?node_id=773279


in reply to Re: (2) Resolve list of DNS names (reverse lookup, CPAN modules)
in thread (code) Resolve list of DNS names

Get the following error. What should i do? print (...) interpreted as function at ./resolve.pl line 112. syntax error at ./resolve.pl line 120, near "sub UNLINK " Can't use global @_ in "my" at ./resolve.pl line 121, near "= $_" syntax error at ./resolve.pl line 128, near "}" Execution of ./resolve.pl aborted due to compilation errors.
  • Comment on Re^2: (2) Resolve list of DNS names (reverse lookup, CPAN modules)

Replies are listed 'Best First'.
Re^3: (2) Resolve list of DNS names (reverse lookup, CPAN modules)
by ysth (Canon) on Jun 21, 2009 at 08:30 UTC
Re^3: (2) Resolve list of DNS names (reverse lookup, CPAN modules)
by Anonymous Monk on Jun 23, 2009 at 07:21 UTC
    Yes. The program runs now but now I get the following error. Error reading input file "resolve.in": No such file or directory. I created the file resolve.in in the home folder with resolve.pl and put a list of domains in it ie: google.com yahoo.com aol.com But still get the same error. My System Mac OSX 10.4.11 Net::DNS 0.65 Spreadsheet::WriteExcel 2.25 Perl 5.008006 Local OS darwin
Re^3: (2) Resolve list of DNS names (reverse lookup, CPAN modules)
by Anonymous Monk on Jun 23, 2009 at 07:27 UTC
    The new error it created after I put the resolve.in file was: Error reading input file "resolve.in":
Re^3: (2) Resolve list of DNS names (reverse lookup, CPAN modules)
by Anonymous Monk on Jun 26, 2009 at 02:29 UTC
    Whew! Finally got it to work. Now is there a way to make this multi-threaded? I'm a newbee so I have no idea how to accomplish this.