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