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'