Devel::Symdump makes this rather easy.
In reply to Re: look up the symbol table of a variable by brian_d_foy in thread look up the symbol table of a variable by eod