1 ########################################################
3 # This script creates a 'tags' file in the style of ctags
4 # out of the SL/ modules.
5 # Tags file is usable in some editors (vim, joe, emacs, ...).
6 # See your editors documentation for more information.
8 # (c) Udo Spallek, Aachen
9 # Licenced under GNU/GPL.
11 ########################################################
18 use warnings FATAL =>'all';
21 my $dir = IO::Dir->new("SL/");
23 my @files = grep {/\.pm$/} $dir->read();
25 @files = grep { s{^}{SL\/}gxms } @files;
27 #print Dumper(@files);
30 my $naive_tagger = Perl::Tags::Naive->new( max_level=>1 );
31 $naive_tagger->process(
38 # of course, it may not even output, for example, if there's nothing new to process
39 $naive_tagger->output( outfile => $tagsfile );