Are you using the git-bash console ?

There you'll have which and a Perl installation and Unix paths notation.

That doesn't effect the normal cmd.exe unless you change PATH to point to the git utilities. ( I never tried this)

Anyway perldoc -l MODUL will point you to your Perl's installation directory.

For instance the doc location of a core module like warnings always works.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

update

s/-t/-l/

update

Fired up my Win box and inside cmd.exe it works

D:\>perldoc -l warnings C:\Perl_524\lib\warnings.pm

But seems that git-bash comes without perldoc

$ perldoc -l warnings Can't locate Pod/Perldoc.pm in @INC ...

But the following works on both variations, provided you swap ' and " accordingly for cmd.exe

$ perl -Mwarnings -e 'print $INC{"warnings.pm"}' /usr/share/perl5/core_perl/warnings.pm

D:\>perl -Mwarnings -e "print $INC{q'warnings.pm'}" C:/Perl_524/lib/warnings.pm
ANYWAY DON'T TRY TO UNINSTALL git's Perl.

In reply to Re^3: Can't find or uninstall version of perl (git-bash / perldoc / %INC) by LanX
in thread Can't find or uninstall version of perl by ScarletObsidian

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.