in reply to Re: Loading multiple files with YAML::XS (named streams)
in thread Loading multiple files with YAML::XS

Hi,, can u provide me an example or appropriate link in which two configs files are loaded using YAML in perl
  • Comment on Re^2: Loading multiple files with YAML::XS (named streams)

Replies are listed 'Best First'.
Re^3: Loading multiple files with YAML::XS (named streams)
by 1nickt (Canon) on Dec 02, 2015 at 15:00 UTC

    You might want to look at Config::Any.

    From the docs:

    load_files() attempts to load configuration from the list of files pas +sed in the files parameter, if the file exists.
    The module recognizes YAML files and will parse them with the appropriate YAML library (which means you have to have it installed).

    HTH

    The way forward always starts with a minimal test.