Help for this page
su - softwareUser -c /path/to/my/script.pl
my $confgiFile = '/path/to/configFile'; ... print CONFIG $config; # $config is populated much earlier close(CONFIG);