[Top]
MasterObject
MasterObject()->Pike_0_5_master
|
Class MasterObject()->Pike_0_5_master
- Description
Pike 0.5 master compatibility interface.
Most of the interface is implemented via mixin,
or overloading by more recent masters.
This interface is used for compatibility with
all pikes until Pike 0.5.
- Deprecated
- See also
get_compat_master() , master() , MasterObject
- Variable
environment
mapping(string:array(string)) MasterObject.Pike_0_5_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.
|