in reply to use or require ?

Ciao,

in similar cases I use UNIVERSAL::require; from module synopsis:

# This only needs to be said once in your program. require UNIVERSAL::require; # Same as "require Some::Module" my $module = 'Some::Module'; $module->require or die $@; # Same as "use Some::Module" BEGIN { $module->use or die $@ }

Ciao, Valerio