The SYNOPSIS of this module shows how this module can be used on the command line. This is not sufficient, if such an environmental setup is need for a set of unit tests for a module under development. In such a case such a line
-PSetEnv=TZ=UTC,PATH="./bin:$PATH"
has to be persisted in a .proverc file. Unfortunately $PATH is not recolved anymore because the context is no longer a command line shell but the App::Prove perl module itself. Even
-PSetEnv=TZ=UTC,PATH="./bin:$ENV{PATH}"
does not help.
The SYNOPSIS of this module shows how this module can be used on the command line. This is not sufficient, if such an environmental setup is need for a set of unit tests for a module under development. In such a case such a line
-PSetEnv=TZ=UTC,PATH="./bin:$PATH"has to be persisted in a .proverc file. Unfortunately $PATH is not recolved anymore because the context is no longer a command line shell but the App::Prove perl module itself. Even
-PSetEnv=TZ=UTC,PATH="./bin:$ENV{PATH}"does not help.