Tcl question - how to list functions in a namespace

Posted by Bub Bradlee on Stack Overflow See other posts from Stack Overflow or by Bub Bradlee
Published on 2010-05-21T23:36:45Z Indexed on 2010/05/21 23:40 UTC
Read the original article Hit count: 264

Filed under:

I am trying to list all of the functions a namespace has in it (warning - I'm really new to Tcl, so I'll probably use the wrong words for parts of Tcl). For example, I have a tcl shell someone compiled for me (if that's the right way to phrase it), and I know at least one function exists, let's call it

blah::do_something

I know in ruby there are ways to list all the functions in a module/namespace. How would I find out what other functions are available in the blah namespace in Tcl?

Thanks in advance

© Stack Overflow or respective owner

Related posts about tcl