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

Hello Monks, I have a small issue. Kindly help me. I have a huge repository of perl files in various directories and sub-directories. I encounter many function calls in a perl file whose definition is in some other package under some other directory. Every time going to the definition and coming back by switching the directory takes lots of effort. Is there any way of creating tags for perl codes as we have ctags command to create tags in C and FORTRAN.

Replies are listed 'Best First'.
Re: How to create TAGS in perl
by choroba (Cardinal) on Mar 21, 2012 at 11:37 UTC
    Check your ctags documentation. The version I have supports Perl.
Re: How to create TAGS in perl
by remiah (Hermit) on Mar 21, 2012 at 13:04 UTC

    Hello

    Maybe you already have pltags.pl if you are using vim. I was told by roboticus about this at this thread (Jumping through perl modules with vim). You can find pltags.pl script if you google.

    roboticus also pointed me ctags option for perl and other perl module, "Perl::Tags".

    I am now using pltags.pl with vim.

      Like this pltags.pl? In that case, you should give Exuberant Ctags or Perl::Tags a shot for better tags.
Re: How to create TAGS in perl
by MidLifeXis (Monsignor) on Mar 21, 2012 at 12:49 UTC