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 ' or ' use Data::Dumper ' . To me, it feels like writing a central "include <> /Macro / define" file in C++. Is this possible in Perl ? Appreciate the answers !Package GlobalDefined; use strict; use warnings; our $PROJECT_GLOBAL_VAR1; ... # Tools use Data::Dumper; ... 1;
In reply to Code Reuse by Mano_Man
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |