http://qs321.pair.com?node_id=11100255


in reply to Re^2: Can't find or uninstall version of perl
in thread Can't find or uninstall version of perl

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.