NAME

App::optex::Config - load optex config with recursive include support

SYNOPSIS

use App::optex::Config;

my $config = App::optex::Config::load_config("$ENV{HOME}/.optex.d/config.toml");

FUNCTIONS

load_config

my $config = App::optex::Config::load_config($path, ...);

Loads a TOML config file and expands any top-level include directives. Returns a hashref of the merged configuration.

DESCRIPTION