in reply to Re: List packages in a file
in thread List packages in a file

yes - I'm aware of this. That's why I'm looking for another way to get the same information without using the symbol table - maybe something like a parse tree of the current source or something like that. I can just grep through the source file myself (looking for package declarations), but I'd rather not do that if there is already a standard package that provides the information I need. Thanks.

Replies are listed 'Best First'.
Re^3: List packages in a file
by ikegami (Patriarch) on Feb 09, 2010 at 02:24 UTC
    PPI would be a better way of "grepping through the source file".
      PPI looks promising - thanks for the suggestion.