Parse::ExCtags - Parse ExCtags format of TAGS file
use YAML; use Parse::ExCtags; my $tags = exctags(-file => 'tags')->tags; # hashref print YAML::Dump $tags;
This module exports a exctags() function that returns a Parse::ExCtags object. The object has a tags() method that return an hashref of hashref which are tags presented in the file given by -file argument.
The key to $tags is the 'tag name'. Usually a subroutine name or package name. The kind of this 'tag name' is optionally store in $tags->{field}->{kind}.
Each hash has following keys:
name: the tag name file: the associated file adddress: the ex pattern to search this tag field: tagfields, a hashref of hashref (name,value) pair.
Copyright 2004 by Kang-min Liu <gugod@gugod.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <http://www.perl.com/perl/misc/Artistic.html>
To install Parse::ExCtags, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Parse::ExCtags
CPAN shell
perl -MCPAN -e shell install Parse::ExCtags
For more information on module installation, please visit the detailed CPAN module installation guide.