# New Ticket Created by Matt Diephouse # Please include the string: [perl #38064] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38064 >
When partcl unsets a variable, it breaks aliasing. Setting that variable should set the original variable as well. You can see this when using [global]: mdiep~$ cat test.tcl proc changeA {} { global a unset a # remove this and partcl outputs baz correctly set a baz } set a foo changeA puts $a mdiep~$ tclsh test.tcl baz mdiep~$ partcl test.tcl foo mdiep~$ Partcl currently nulls registers when unsetting variables, which has no effect on the actual PMC. For a discussion of this issue, see the "Variables, Aliasing, and Undefined-ness" thread on p6i. -- matt diephouse http://matt.diephouse.com