(un)setting environment variables from a Portfile
Gustaf Neumann
neumann at wu.ac.at
Sun Jan 11 12:59:08 PST 2015
The leading colons denote a reference to a global variable.
If a Tcl command is evaluated in a tclsh at the top-level these
are not needed, on e.g. proc-scope these are required. It never
hurts to use it to make it clear one is referring to a global variable.
-g
Am 11.01.15 um 19:58 schrieb René J.V. Bertin:
> set environment variable
> set ::env(FOO) "some value"
>
> unset environment variable
> unset ::env(FOO)
> Thanks :)
>
> Is the namespace (?) separator required?
>
>
More information about the macports-dev
mailing list