Perl::Tags

Perl::Tags is a Perl module used to generate (possibly exuberant) Ctags style tags for Perl sourcecode.
Download

Perl::Tags Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • osfameron
  • Publisher web site:
  • http://search.cpan.org/~osfameron/Crypt-OTP26-0.02/lib/Crypt/OTP26.pm

Perl::Tags Tags


Perl::Tags Description

Perl::Tags is a Perl module used to generate (possibly exuberant) Ctags style tags for Perl sourcecode. Perl::Tags is a Perl module used to generate (possibly exuberant) Ctags style tags for Perl sourcecode.SYNOPSIS use Perl::Tags; my $naive_tagger = Perl::Tags::Naive->new( max_level=>2 ); $naive_tagger->process( files => , refresh=>1 );Recursively follows use and require statements, up to a maximum of max_level.The implemented tagger, Perl::Tags::Naive is a more-or-less straight ripoff, slightly updated, of the original pltags code, and is rather naive. It should be possible to subclass using something like PPI or Text::Balanced, though be aware that this is alpha software and the internals are subject to change (so get in touch to let me know what you want to do and I'll try to help).FEATURES * Recursive, incremental tagging. * parses `use_ok`/`require_ok` line from Test::MoreUSING with VIMPerl::Tags is designed to be used with vim. My ~/.vim/ftplugin/perl.vim contains the following: setlocal iskeyword+=: " make tags with :: in them useful if ! exists("s:defined_functions") function s:init_tags() perl 2 ); # only go one level down by default EOF endfunction function s:do_tags(filename) perl $filename, refresh=>1 ); # we'll now do a global (for this PID) tags file which will get updated as you source dive. my $tagsfile="/tmp/tags_$$"; VIM::SetOption("tags+=$tagsfile"); # of course, it may not even output, for example, if there's nothing new to process $naive_tagger->output( outfile => $tagsfile ); EOF endfunction call s:init_tags() " only the first time let s:defined_functions = 1 endif call s:do_tags(expand('%'))Requirements:· Perl Requirements: · Perl


Perl::Tags Related Software