mirror of
https://codeberg.org/scip/Config-General.git
synced 2025-12-16 20:21:01 +01:00
Merge pull request #2 from haarg-contrib/no-use-vars
don't use vars, use our
This commit is contained in:
@@ -34,9 +34,8 @@ use Exporter;
|
||||
|
||||
$Config::General::VERSION = "2.65";
|
||||
|
||||
use vars qw(@ISA @EXPORT_OK);
|
||||
use base qw(Exporter);
|
||||
@EXPORT_OK = qw(ParseConfig SaveConfig SaveConfigString);
|
||||
our @EXPORT_OK = qw(ParseConfig SaveConfig SaveConfigString);
|
||||
|
||||
use constant _UTF8_BOM => "\x{ef}\x{bb}\x{bf}";
|
||||
|
||||
|
||||
@@ -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