I would certainly not do the require in an eval, and then
not inspect $@. Because in your code fragment, what's going
to happen if CONF-$x contains code that doesn't compile?
The require would die, but you trap it without dealing with
it. I'd use something like this:
my $x = "A";
require "CONF-$x.pm"; # Note the .pm!
"CONF-$x" -> import if "CONF-$x" -> can ("import");
Abigail