/**
  * Set the environment the perl call will execute with
  *
  * @param type $new_env
  */
 public static function set_env($new_env)
 {
     self::$ENV = $new_env ? $new_env : false;
 }