Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Perl ctags How To

by shmem (Chancellor)
on Jan 10, 2021 at 19:33 UTC ( [id://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.

    lbe

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-23 23:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found