Explorar o código

perl: Add a VERSION to all modules

Addresses Modules::RequireVersionVar.
Guillem Jover %!s(int64=13) %!d(string=hai) anos
pai
achega
83c6d09b36
Modificáronse 2 ficheiros con 4 adicións e 0 borrados
  1. 2 0
      dselect/methods/Dselect/Ftp.pm
  2. 2 0
      scripts/Dpkg/Control/Types.pm

+ 2 - 0
dselect/methods/Dselect/Ftp.pm

@@ -15,6 +15,8 @@ package Dselect::Ftp;
 use strict;
 use warnings;
 
+our $VERSION = '0.01';
+
 use Exporter qw(import);
 
 use Net::FTP;

+ 2 - 0
scripts/Dpkg/Control/Types.pm

@@ -16,6 +16,8 @@ package Dpkg::Control::Types;
 use strict;
 use warnings;
 
+our $VERSION = '0.01';
+
 use Exporter qw(import);
 our @EXPORT = qw(CTRL_UNKNOWN CTRL_INFO_SRC CTRL_INFO_PKG CTRL_INDEX_SRC
                  CTRL_INDEX_PKG CTRL_PKG_SRC CTRL_PKG_DEB CTRL_FILE_CHANGES