That's what I am doing!
I have to say though that my code's readability has deteriorated somewhat.
It was bad enough having things like:
eval "set SumX $$SumName"
when I wanted SumX to be either Sum1 or Sum2 etc..
now I've replaced it with:
eval "set SumX \$::ba_ns::$SumName"
Yack!
Cheers,
Brian
> -----Original Message-----
> From: Rob Mayoff [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, September 05, 2001 4:38 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [AOLSERVER] Scoping in AOLserver TCL
>
> +---------- On Sep 5, Mike Hoegeman said:
> > you can clean up things when a connection ends using the ns_atclose
> > command. e.g.
>
> In this case, it's a lot safer for Brian to use "namespace delete
> ::whatever" at the top of the procedure that sets the namespace
> variables. That way he guarantees that there will be no extraneous
> variables.