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.

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...

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 :-)

--
osfameron

On 21/07/06, Dr Bean <[EMAIL PROTECTED]> wrote:
On Wed, 12 Jul 2006, Dr Bean wrote:

> On Wed, 12 Jul 2006, Hakim Cassimally wrote:

> > Also... at the moment the script in the manpage doesn't have a mapping
> > to refresh the tags file.  If you defined the sub after opening the
> > file, it won't be seen until you close and reopen.  (I'll probably fix
> > this soon, but patches welcome :-)

> Making s:do_tags a global function, Do_tags allows you to call it
> yourself, call Do_tags(expand('%')).

> I don't understand why this doesn't work when you source
> perl.vim.

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('%'))

        augroup END

I am more worried that Module::Locate doesn't find modules in lib/ and t/

--
Dr Bean                          You can lead a horse to water,
                                 but you can't make it drink
                                 unless you gallop it round first.

Reply via email to