The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

load_module <package>

Check if already loaded package and preload else

return : 0 - fail load class 1 - suss loaded -1 - already loaded

_parse_str_to_hash <str>

convert string like:

    config=/tmp/tests.ini;host=test.local

to hash:

    {
      config=>'/tmp/tests.ini',
      host=>'test.local'
    }

get_classes <hash with defaults>

Get classes by check ENV variables

    get_classes( wdEngine=> $def_eng_class) 

return ref to hash

expire_calc <time shift str>

Calculate time from str

 expire_calc('+1d') # current time() + 1 day
 expire_calc('+1y') # current time() + 1 year
 expire_calc('+1M') # current time() + 1 Month
 expire_calc('+1m') # current time() + 1 minute

return : <unix_timestamp>