Help for this page
use strict; use AppConfig qw(:argcount); ... $temp_conf->args(); # parse conf file (path specified in CLI args, otherwise use default) $temp_conf->file( $temp_conf->config_file() );
# save the CLI args my @CLI = @ARGV; ... $temp_conf->file( $temp_conf->config_file() ); # reinforce those CLI args! $temp_conf->args(\@CLI);