Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Perl ctags How To

by shmem (Chancellor)
on Jan 10, 2021 at 19:33 UTC ( #11126718=note: print w/replies, xml ) Need Help??

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.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11126718]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2021-03-04 16:50 GMT
Find Nodes?
    Voting Booth?
    My favorite kind of desktop background is:

    Results (105 votes). Check out past polls.