in reply to Re: Config File Placement
in thread Config File Placement

this is good stuff to chew on...

Shouldn't this line:

my $config_dir = shift || $ENV{'HOME'} || ( getpwuid $> )[7]

be changed to:

my $config_dir = $_[1] || $ENV{'HOME'} || ( getpwuid $> )[7]

$_[0] seems to return the namespace of the module, or if that ain't the right term (like I know what I'm talking about) it would return something like

ProgConfig
</code>

 

-justin simoni
!skazat!