in reply to default config file
use File::Basename; (my $script = basename $0) =~ s/(\.pl)?$/.cfg/; [download]
-- Randal L. Schwartz, Perl hacker