I have a module that I want to run a check in a BEGIN block and if that check fails the module stops processing but allows the program to continue (so no other use or BEGINs happen)
Is that possible without turning my use statments into
BEGIN {
unless($skip) {
require Config;
Config->import();
...
}
}