in reply to convert script from perl to tcl

Off topic, we are no TCL experts here.

My guess (!) is at least your use of sigils is wrong.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice