Простой скрипт:
#!/usr/bin/env tclsh8.5
set po [list 1 2 3 3 6 5 4 6]
set po [lrevers $po]
puts [info tclversion]
puts $po
invalid command name "lrevers"
while executing
"lrevers $po"
invoked from within
"set po [lrevers $po]"
(file "/var/www/sites/1.tcl" line 3)
~$ tclsh8.5
% set po [list 1 2 3 3 6 5 4 6]
1 2 3 3 6 5 4 6
% set po [lrevers $po]
6 4 5 6 3 3 2 1
% puts [info tclversion]
8.5
% puts $po
6 4 5 6 3 3 2 1
%
Что, черт возьми, происходит?