From: Dave Thomas Date: 2004-07-23T10:30:00+09:00 Subject: Re: documenting global variables with rdoc On Jul 22, 2004, at 15:38, Paul Brannan wrote: > Perhaps I shouldn't be using global variables to begin with, but I have > an extension that defines two virtual (global) variables (let's call > them $foo and $bar for the sake of argument). How can I document them? Sorry - I'm not sure _how_ to document them (or, to be more precise, where to document them, and how to recognize them). The where part isn't trivial: global variables don't have a particular home in the hierarchy. The recognizing part is tricky too: in order to be able to associate a comment with them, there has to be some kind of pseudo declaration, but globals don't need one. I'm definitely open to suggestions, though. Cheers Dave