Exactly. Read the last in parentheses. In our case, practically all code 
that gets
sourced is in namespace evals.
So "$initialize_amsn" only works there, because currently, if that var 
is not found in the current namespace (obviously, it is not), it is also 
looked up in global namespace.
Just like how commands are looked up, and that will remain the same I 
believe, don't quite understand why actually.

JeeBee
> Indeed: whatever happens in [upvar #0] is already running in the global
> namespace, so it does not need to be fully qualified. So: what is run at
> caller's scope in the sourced file (ie, not within namespace evals or
> procs) is fine.
>   


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Amsn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to