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
</code>ProgConfig
-justin simoni
!skazat!
In reply to Re: Re: Config File Placement
by skazat
in thread Config File Placement
by skazat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |