tcl-websh-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@dedasys.com (David N. Welton)
Subject web::context delete
Date Fri, 16 Nov 2001 13:39:41 GMT

WRT bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4727

        Add invalidate command to web::context (amounts to namespace forget)

It makes more sense to me to just add a 'delete' command to it, so
that 

web::context foobar

foobar::delete

destroys itself.

test context-1.20 {context destroy} {
    web::context ctxb
    ctxb::delete
    catch {
	ctxb::cset foo bar
    } err
    set err
} {invalid command name "ctxb::cset"}

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
Free Software: http://people.debian.org/~davidw/
   Apache Tcl: http://tcl.apache.org/
     Personal: http://www.efn.org/~davidw/

Mime
View raw message