Class MasterObject()->Pike_7_6_master
- Description
Pike 7.6 master compatibility interface.
Most of the interface is implemented via mixin, or overloading by more recent masters.
This interface is used for compatibility with Pike 7.6.
- Deprecated
Replaced by MasterObject.
- See also
- Variable environment
mapping
(string
:array
(string
)) MasterObject.Pike_7_6_master.environment- Description
Mapping containing the environment variables.
The mapping currently has the following structure:
index
:array
(string
)Note that the index is lower_case()'d on NT.
Array string
varname
Variable name with case intact.
string
value
Variable value.
- Note
This mapping should not be accessed directly; use getenv() and putenv() instead. This mapping is not publicly accessible in pikes newer than 7.6.
- Note
This mapping is not compatible with Process.create_process(); use the mapping returned from calling getenv() without arguments instead.
- Bugs
This mapping is not the real environment; it is just a copy of the environment made at startup. Pike does attempt to keep track of changes in the mapping and to reflect them in the real environment, but avoid accessing this mapping if at all possible.