--- a/bin/dnsvi Wed Jun 04 14:50:38 2014 +0200
+++ b/bin/dnsvi Thu Jun 05 00:02:38 2014 +0200
@@ -98,7 +98,7 @@
=head1 SYNOPSIS
- vidns [[-l] | [[-k key] [-s server]]] [-d] <zone> [<file>]
+ dnsvi [[-l] | [[-k key] [-s server]]] [-d] <zone> [<file>]
=head1 DESCRIPTION
--- a/lib/DNS/Vi.pm Wed Jun 04 14:50:38 2014 +0200
+++ b/lib/DNS/Vi.pm Thu Jun 05 00:02:38 2014 +0200
@@ -2,12 +2,13 @@
use 5.010;
use strict;
use warnings;
-no warnings 'experimental';
use if $ENV{DEBUG}//'' eq 'dnsvi' => 'Smart::Comments';
use Digest::SHA qw(sha512_hex);
use File::Temp;
+use base 'Exporter';
-use base 'Exporter';
+# we need to survive the newer perls
+BEGIN { warnings::unimport('experimental'); }
our @EXPORT = qw(ttl2h h2ttl parse delta nice edit update show);
our @EXPORT_OK = ();
@@ -17,6 +18,9 @@
my $data = shift;
my @lines = split /\n/, $data;
+ my $x;
+ say $x;
+
my @zone;
my ($origin, $ttl, $last_label, $soa_seen);