in reply to Re^3: requiring pm modules
in thread requiring pm modules

You could also use a bare block, so you don't have to remember to turn strict refs back on:

use strict; ... { no strict 'refs'; $x = 'getValue'; &$x(); } # now we're back to strict refs

But, personally, I would rather use can, as I explained in Re^4: requiring pm modules.