in reply to scandns.pl
Great little ditty -- especially in light of the fact it still works, nearly 12yrs. later!
One little nit;
Line 146 (my copy) reads:
Which issues:return($x==4);
Changing the offending line to:Use of uninitialized value $x in numeric eq (==) at ./scandns.pl line +146. Use of uninitialized value $x in numeric eq (==) at ./scandns.pl line +146.
Seems to squelch the complaint(s), and seemingly without ill.return($x);
Just thought I'd mention it, for you, or anyone else pondering it's use. :)
--Chris
#!/usr/bin/perl -Tw use Perl::Always or die; my $perl_version = (5.12.5); print $perl_version;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: scandns.pl
by jdporter (Paladin) on Nov 14, 2013 at 03:10 UTC | |
by taint (Chaplain) on Nov 14, 2013 at 04:57 UTC | |
by taint (Chaplain) on Nov 14, 2013 at 06:00 UTC | |
by jdporter (Paladin) on Nov 14, 2013 at 20:12 UTC | |
by afoken (Chancellor) on Nov 16, 2013 at 08:53 UTC | |
by taint (Chaplain) on Nov 14, 2013 at 05:29 UTC | |
by jdporter (Paladin) on Nov 14, 2013 at 20:21 UTC | |
by taint (Chaplain) on Nov 14, 2013 at 21:20 UTC | |
by jdporter (Paladin) on Nov 15, 2013 at 01:50 UTC | |
|