mirror of
https://codeberg.org/scip/Config-General.git
synced 2025-12-16 20:21:01 +01:00
don't use vars, use our
Also drop Exporter and @EXPORT from modules that don't export anything.
This commit is contained in:
@@ -14,11 +14,9 @@ use Config::General 1.18;
|
||||
|
||||
use FileHandle;
|
||||
use Carp;
|
||||
use Exporter ();
|
||||
use vars qw(@ISA @EXPORT);
|
||||
|
||||
# inherit new() and so on from Config::General
|
||||
@ISA = qw(Config::General Exporter);
|
||||
our @ISA = qw(Config::General);
|
||||
|
||||
use strict;
|
||||
|
||||
|
||||
@@ -13,12 +13,10 @@ $Config::General::Interpolated::VERSION = "2.16";
|
||||
use strict;
|
||||
use Carp;
|
||||
use Config::General;
|
||||
use Exporter ();
|
||||
|
||||
|
||||
# Import stuff from Config::General
|
||||
use vars qw(@ISA @EXPORT);
|
||||
@ISA = qw(Config::General Exporter);
|
||||
our @ISA = qw(Config::General);
|
||||
|
||||
|
||||
sub new {
|
||||
|
||||
Reference in New Issue
Block a user