in reply to Language independent configuration

If you make the config that you'd make for tcsh, you could execute it before running any Perl and then access the environment variables via %ENV in Perl (see perlvar).