How can I better handle config files?
Assuming I understand your intentions correctly, one way to do it would be this:
- get rid of the
EXPORT
sub - place the computation of
$path
and%config
into the module's mainline declare your 'constants' as terms such as
sub term:<USERNAME> is export { %config<username> }