Re: Fix for a rare redirection problem with eval
Tilmann Singer <[email protected]> Fri, 22 Aug 2003 18:10:45 +0000
| Newsgroups | gmane.comp.web.tclwebtest |
|---|---|
| Message-ID | <[email protected]> |
* Grzegorz Adam Hankiewicz <[email protected]> [20030822 18:19]: > Maybe there's something more to do? I've read again the chapter > about eval in my tcl manual and it says the difference between using > a list and curly braces is that the latter doesn't make variable > substitution immediate, which could be dangerous if the eval is > going to be used in another scope. > > But I don't understand what this has to do with the "Too many > positional parameters" thing. Evil tcl substitution rules... Since the eval is not being used in another scope that shouldn't matter. Anyway rereading the eval man page I came to the following conclusion: eval do_request $nocomplain_option $followequiv_option $location seems to work fine. The 'too many positional' propably resulted from a space in one of the values, which is good because it warned us from an error that would have turned up later otherwise. You mind trying this new syntax? cheers, til -- http://tsinger.com ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0