fc2 tcl problem?

Luciano Miguel Ferreira Rocha strange at nsk.no-ip.org
Tue Jun 29 11:36:47 UTC 2004


On Tue, Jun 29, 2004 at 01:34:52AM +0300, Georgios Petasis wrote:
> I am particularly worried about the statement:
> 
> upvar #0 ::env cgi::env
> 
> I think there is an error in this statement, as
> its executed from the cgi::data proc, and tries
> to create a variable named cgi::cgi::env, thus
> raising an error. (I think this is the problem, though
> I haven't tried to run the code...)
> 
> The solution is to simply use:
> 
> upvar #0 ::env env

Didn't work. Program runs, but login/actions/etc do nothing.

> which will make equivalent the env variable in the global
> scope with the env variable in the proc (which in turn
> is linked to the ::cgi::env variable through the variable statement).

upvar #0 ::env ::cgi::env did work! Thanks :)

Regards,
Luciano Rocha





More information about the fedora-list mailing list