On Fri, Jul 20, 2001 at 08:19:30AM -0500, [EMAIL PROTECTED] wrote:
> defined(@array) is deprecated at /usr/lib/perl5/site_perl/5.6.0/Net/DNS.pm
> line 137.
>       (Maybe you should just omit the defined()?)
> syntax error at ./ipnew line 7, near "new Net:"
> Execution of ./ipnew aborted due to compilation errors.

This is a bug in Net::DNS, introduced when the defined(@array) syntax became
deprecated in recent versions of Perl.  Why the author is using
defined(@array) I have no idea.  I encountered this problem earlier but was
too lazy to do anything about it; I'll submit a patch to the author, and
hopefully it'll get onto CPAN soon.

In the meantime, you can get rid of the warning by using 'no warnings
"deprecated"'.


Michael
--
Administrator                      www.shoebox.net
Programmer, System Administrator   www.gallanttech.com
--

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to