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

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.
  • 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 cases press ^T.

    There is more to it than just this in both cases. Apply a little bit of RTFM to go further.

    -Dom

    • 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