Advanced-Config

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

# The Change Log for Advanced::Config

# The basic algorithm was initially an attempt to allow Perl and Unix shell
# scripts to share common configuration files.  And it just grew with a life
# of it's own since then.

# --------------------------------------------------------------------
# Developer's Note:
# By default, fish is turned off.  To turn it on do the following:
#       1) On Unix:  export ADVANCED_CONFIG_FISH=1
#       2) On Windows:  set ADVANCED_CONFIG_FISH=1
# This is done by most of the test cases that use this module.
# See the README files for more details on this.
#
# To turn fish back off, reset this variable to zero!
# --------------------------------------------------------------------


Version - YYYY/MM/DD
---------------------
1.15 2026-08-17 08:30:00
  - Added $mode arg to get_dow_date().  Added $mode to middle of arg list.  So
    special care was needed to make the func backwards compatible.  It allows
    the dow to be strings in the requested language.
  - Modified t/13-alt-get-tests.t to test the changes.
  - Added the following to Config.pm
           newDefineConfigRules ()
           copy_opts_from_cfg ()
           set_config_rules ()
           _get_rules_from_cfg()
           _get_rule_section ()
           _get_rule_object ()
  - Modified source_file() in Reader.pm to take advantage of
    newDefineConfigRules () & _get_rule_section ().  Uses the new rule logic
    when sourcing in sub-files.  When using rules it overrides the old callback
    options.
  - Added t/65-rule-config.t to test these changes along with t/config/65-*.cfg
    files.
  - Added the new files to the MANIFEST
  - Updated the POD in Options.pm & Examles.pm to mention this new logic.
  - Added 31-using-regex-seps.cfg for more test cases in 30-alt_symbols_cfg.t.

1.14 2026-01-16 08:30:00
  - Updated copyright dates in LICENCE file.
  - Fixed several typos in the README file.
  - Added the following functions to Date.pm
        * is_leap_year ()
        * calc_hundred_year_date ()
        * calc_day_of_week ()
        * convert_hyd_to_date_str ()
        * calc_day_of_year ()
        * adjust_date_str ()
  - Added test cases to t/09-basic_date.t for this.
  - Added the following methods to Config.pm
        * get_hyd_date ()
        * get_dow_date ()
        * get_doy_date ()
        * get_adjusted_date ()
  - Added test cases to t/13-alt-get-tests.t for this.
  - Corrected POD usage for new() in Cofig.pm.
    date_language was listed in wrong hash.
  - Fixed tons of typos in the POD for all *.pm files.

1.13 2025-02-13 08:30:00
  - Skipped unlucky release 13.

1.12 2025-02-06 08:30:00
  - Fixed typo in POD link in Date.pm.
  - Fixed t/70-validate_date_vars.t to handle timestamp test on even slower
    running machines.  Increased delay allowed from 20 sec to 2 min & modified



( run in 1.066 second using v1.01-cache-2.11-cpan-64ef6c95b5d )