Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

Ovid
  (email not shown publicly)
http://publius-ovidius.livejournal.com/
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Tuesday November 25, 2003
12:16 PM

Perl Cross-Reference Tool

[ #16005 ]

One of my coworkers is looking for a Perl cross-reference tool that has syntax highlighting, allows you to click through to various modules, given a "sub foo", will attempt to list every module that has a "sub foo", etc. Can anyone point me in the right direction? Running on Linux would be best, but Mac OSX will do.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • brian d foy posted earlier this week that he was workin' on a class browser, but that's all I know.
    --

    --
    xoa

  • You might be able to do what you want with emacs or vim.

    For emacs change to your top level directory and run etags `find * -name '*.p[lm]'`. Then, inside emacs, you press M-. to follow a symbol to it's definition and M-* to go back to where you were.

    Vim is pretty similiar. You run ctags `find * -name '*.p[lm]'` and then you can do vim -t foo to jump straight to where foo is defined. Inside vim, you can either do :ta foo or control-left-click on a word to jump to its definition. To go back, in all ca

    • Sorry, I forgot to mention that you'll need exuberant ctags installed to get it working with perl most likely. Try doing ctags --help | grep perl or ctags --help | grep perl to see if it will work.

      -Dom

  • CPANXR [cpan.org] looks like it could be right up your alley.
    • And here http://cpanxr.surfar.nu/cpanxr/classes to see it working.

      Best regards,
      --
      life is too short
    • Re:CPANXR (Score:2, Insightful)


      =head1 NAME

      cpanxr - CPANXR indexer

      [...]

      =head1 OPTIONS

      [...]

      =item B<-man>

      Prints the manual page and exists.


      Cool. Zen and the art of CPAN indexing.
      :-)