Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Intelligent ctags for perl in vim

by imp (Priest)
on Jul 01, 2006 at 20:57 UTC ( [id://558802] : perlquestion . print w/replies, xml ) Need Help??

imp has asked for the wisdom of the Perl Monks concerning the following question:

I'm looking for a way to have ctags handle perl scripts/modules intelligently - by building the tags based on the modules that are loaded. Does anyone know a good way to do this?

Solution criteria:

  • Uses the specified perl binary (from the shebang)
  • Uses the module that is in the @INC path for this perl
  • Preferrably descends into modules loaded by the explicitly used modules.

Replies are listed 'Best First'.
Re: Intelligent ctags for perl in vim
by dbwiz (Curate) on Jul 01, 2006 at 21:33 UTC
Re: Intelligent ctags for perl in vim
by osfameron (Hermit) on Jul 02, 2006 at 15:06 UTC
      Great - thank you for sharing.

      I looked over the source and it appears to be what I am looking for. Look forward to playing with it later.

Re: Intelligent ctags for perl in vim
by drbean (Novice) on Jul 06, 2006 at 03:12 UTC
    Imp, Are there any more ideas where that one came from? osfameron's implementation ROCKS!! It allows me to flit freely in and out between my garden of code and the jungle outside the gate.
Re: Intelligent ctags for perl in vim
by LanX (Saint) on Dec 10, 2009 at 10:15 UTC
    Devel::PerlySense is supposed to do this in emacs and waits for somebody using the API for a VI frontend.

    Cheers Rolf