Code Reuse
Hi, I’m looking to do something like this:
Package GlobalDefined;
use strict;
use warnings;
our $PROJECT_GLOBAL_VAR1;
...
# Tools
use Data::Dumper;
...
1;Now, I’d like to add some kind of use/require so that the definitions that I include in global defines are taken in other packages/scripts. That means not only the global variables (which is easy) but also things like
use strict
oruse Data::Dumper
.