Global variables

File one

package Module;

use strict;
use warnings;

use Exporter;

#our @ISA = 'Exporter';
#our @EXPORT = qw($global_variable);

our $global_variable = 'interesting';
our $two = '???';

1;

File two

use strict;
use warnings;
use feature 'say';

use Module;


say $Module::global_variable;
say $Module::two;

Console output

$ perl hello.pl 
interesting
???