G'day tmulher,

Welcome to the monastery.

[Disclaimer: I don't have GIT Bash (in fact, I don't have Perl running on any MSWin platform).]

The first thing I noticed was that your @INC contains paths with 'msys' and '5.8.8' but there's no mention of Strawberry Perl; however, the perldoc you're running is /c/strawberry/perl/bin/perldoc.

I suspect this is your core problem: you'll need to use the GIT Bash version of perldoc. It's not really my area of expertise, but this may be related to the order of paths in $PATH. (If you can't work that out for yourself, I'm sure another monk can help with this.)

Looking at the Core Pod::* modules for v5.8.8, I see many Pod::Perldoc::* modules but no specific Pod::Perldoc module. However, the latest Core Pod::* modules do include a specific Pod::Perldoc module.

That would explain why Pod::Perldoc wasn't found in your @INC v5.8.8 paths.

The perldoc code you posted is identical to mine (v5.18.1). Based on your error message and the documented v5.8.8 Core Pod::* modules, I'd expect a 5.8.8 version of perldoc to have different code (that didn't use Pod::Perldoc).

-- Ken


In reply to Re: perldoc GIT bash by kcott
in thread perldoc GIT bash by tmulher

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.