App-Env

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

          local %ENV = %ENV;
          require App::Env;
          # This will load App::Env::Site and thus load App::Env::Site1::MyApp1
          App::Env::import( 'MyApp1' );
        }
        # This will NOT load App::Env::Site, as it has already been loaded,
        # but the environment no longer contains $ENV{APP_ENV_SITE}, this
        # this will load App::Env::MyApp2, not App::Env::Site1::MyApp2
        App::Env::import( 'MyApp2' );

     This is just too fragile.  Now when App::Env is loaded, it caches
     the final version of $ENV{APP_ENV_SITE}.  Code which needs to change
     the site in mid-program, can use the Site parameter.


0.36 2022-07-05 16:38:55-04:00 America/New_York

  [ENHANCEMENT]

    * appexec:



( run in 0.666 second using v1.01-cache-2.11-cpan-364913b4093 )