in reply to AppConfig Error handling

The ERROR parameter is a custom subroutine for displaying errors from AppConfig. If not specified, errors are displayed via warn. Here's an example of a custom error handler:
sub handle_errors { # prefix error message with current time my $message = sprintf(@_); my $time = localtime(time); warn "$time: $message\n"; }
And, as FunkyMonk points out, you would tell AppConfig to use this handler with:
my $conf = AppConfig->new({ ..., ERROR => \&handle_errors, ...});
Update: Thanks to FunkyMonk for pointing out the initial typo I had with the the subroutine's name.