Does the strawberry version of perldoc have a shebang line of #!/usr/bin/perl (I believe it does)?. What is happening is that the git shell is looking at the shebang line for the perldoc script which is first in your path. According to Unix semantics, it looks at the first line for the interpreter to run, which (according to your path) is the msys version installed with the git shell. So, you are running Strawberry's perldoc with the git shell (msys) perl, libraries, and other things.
I have not gotten around to checking and/or submitting a bug with strawberry for this yet, but in my opinion, the scripts should either be installed with the full path to the perl binary from the installation, or just #!perl. If the shebang is changed to #!perl, you need to ensure that the Strawberry perl is first in your path.
After checking my install, it appears that only some of the perl scripts in Strawberry's installation are configured with full paths for the shebang line, which causes its own set of issues. Those are the items that should have a bug attached to them, either in the package, or on Strawberry itself. (IMO, of course)
Update: Corrected post based on checking my current Strawberry install
--MidLifeXis
In reply to Re: perldoc GIT bash
by MidLifeXis
in thread perldoc GIT bash
by tmulher
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |