Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b74da7e6d907ca87bd72f32ced74abd41c468947
Ticket: 219372ffffffffffffffffffffffffffffffffff
Cannot set env array element via upvar #0
User & Date: dkf on 2001-02-07 22:48:58
Changes

  1. icomment:
    This is due to an interaction between an environment variable mechanism strangeness (the env array is *different*) and the array-variable mechanism (which currently means that if you upvar a single element of an array, no global traces on that array get called when you get/set that variable) that is unfortunate.  A work-around is to upvar the whole array and set an element of that, which works.
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"