On Fri, 21 Jul 2006, Hakim Cassimally wrote: > Have you got PERL5LIB set to look in lib/ and t/ ? > Module::Locate defaults to looking at @INC. > You could set this in your environment variables.
Rather than this alternative, I like the next one: > Of course, it would be nice if Perl::Tags would look at: > use lib qw( .... ); > declarations and add those to where it looks for modules... I was able to do this with a parser in a subclass of Perl::Tags::Naive, but it just rewrites @INC. > By the way, Dr Bean, if you'd like commit access to the > repo at http://greenokapi.net/svn/code/Perl-Tags/ just > email me the output of htpasswd and I'll add to the > auth file :-) I subclassed Naive with some parsers to tag some Spiffy things. What else would it nice to be able to tag? Sometimes I find myself wanting to know where a method is invoked. > On 21/07/06, Dr Bean <[EMAIL PROTECTED]> wrote: > >On Wed, 12 Jul 2006, Dr Bean wrote: > >This autocommand refreshes the tags file when you write, but the > >tags you have last written are the last ones you want to jump > >to, so I don't think it is much use. > > augroup perltags > > au! > > autocmd BufWritePost *.pm,*.pl call s:do_tags(expand('%')) autocmd BufRead,BufWritePost *.pm,*.pl call s:do_tags(expand('%')) This is more important, because when you start editing another file in another buffer you want tags to be created for it. > > augroup END -- Dr Bean Experience is the best teacher because it gives the test first & the lesson after. --From Martin Pauly