fields. Retreve all environment fields   [3.4.3]

$env:fields

Such a construction returns hash with all environment variables.

Example
^env:fields.foreach[field;value]{
   $field - $value
}[
<br />]

…will output all environment variables' names and their values.
Then the example will output:

SERVER_SOFTWARE - Apache/2.2.22 (Win32)
SCRIPT_NAME 
-
 /cgi-bin/parser3.cgi
PATH_INFO 
-
 /env.html
...



Copyright © 1997–2021 Art. Lebedev Studio | http://www.artlebedev.com Last updated: 22.10.2013