http://www.perlmonks.org?node_id=11126718


in reply to Perl ctags How To

Do you use it to index your whole @INC? If so, how?

I like to be able to jump right into library source files to see what happens there. So I do

qwurx [shmem] ~/some_repo > mdkdir INC qwurx [shmem] ~/some_repo > cd INC qwurx [shmem] ~/some_repo/INC > perl -E 'for (@INC) { ($n=$_)=~s{/}{·} +g; symlink $_, $n}' qwurx [shmem] ~/some_repo/INC > cd .. qwurx [shmem] ~/some_repo > ctags -R

Then I add INC and tags to .gitignore and done.

Yes, I am using 00B7 MIDDLE DOT as path separator, because expanding a dot to oblique is just a matter of perspective reading the vim file info.

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Replies are listed 'Best First'.
Re^2: Perl ctags How To
by learnedbyerror (Monk) on Jan 12, 2021 at 05:37 UTC

    Thank you for the advice. I like the symlink trick. I have used it before for other things and had not considered it in this case.

    lbe