in reply to Dynamically requiring a module

At its' simplest, would something along the lines of the following not suffice...
my $module = $ver > 2 ? 'Config' : 'Settings'; require $module; sub get_conf_val { no strict qw/refs/; return ${"$module\::CONFIG"}{shift()}; } my $val = get_conf_val('conf_data_name');

A user level that continues to overstate my experience :-))