GVim perl tags under Win32 - should you use Perl :: Tags?

I'm a newbie when it comes to gVim, Perl and test scripts, so I hope this isn't a stupid question?

I have successfully installed Perl :: Tags 0.26 under Linux and OS X but am getting test installation errors under WIN32 - see also perl.cpan.testers

My questions:

(i) Is VIM Perl :: Tags required or can I rely on exuberant ctags to generate the appropriate tags for me?

(ii) If I need Perl :: Tags, then how to fix the following problem - many of the installation tests seem to fail because the test expects /Test.pm but gets \ Test.pm under WIN32. Here's an example from test 02_subclass.t:

Current test fails under WIN32

like ($todo_tagger,  qr{Test\t\S+/Test.pm\t/package Test;/}       , 'package line');

      

This test succeeds - note the directory slash

like  ($todo_tagger, qr{Test\t\S+\\Test.pm\t/package.Test;/}       , 'package line');

      

Will this prevent the tags file from working?

+2


source to share


1 answer


I can't talk about usefulness Perl::Tags

(I use ctags myself, but I currently don't use any tags for Perl), but as far as test failures are concerned, they look harmless. Everything should be fine if you do "install with notest". I posted a bug report on rt.cpan.org about failed tests.



+3


source







All Articles