It might also be worth considering a configuration file. This depends on your variable definitions, of course, but if they don't require to be perl code, an INI/JSON/YAML file could be the better solution.
If this is not possible, I would probably use a module and let it export a $config
hashref. This has the advantage that it's clear in the main code where the variable is coming from.
use MyConfig qw/ $config /;
Letting code "import" a number of variables implicitly is usually a bad idea in my experience.