It's not obvious to me

Looking at the File::Repl-2.3 source, the cpan utility attempts to install Win32::API because the Makefile.PL tells it to do so. Line 32 of the Makefile.PL is:
Win32::API => 0, # 0.2000.07.08,
For installing with cpan, that line needs to be made invisible (eg by removing it) to all systems except Windows - or cpan needs to be ordered to not install missing dependencies (I think cpan can be configured to do that).

Another alternative is to download and unpack the File-Repl source, cd to the top level folder and build manually - ie run "perl Makefile.PL", then "make test", then "make install".
The "perl Makefile.PL" command will produce a warning that Win32::API is not installed. You can ignore that warning.
Any other bugs relating to File::Repl-2.3 on a non-Windows system should become evident during the "make test" stage.

Cheers,
Rob

In reply to Re^5: Installing File::Repl on a Mac possible? by syphilis
in thread Installing File::Repl on a Mac possible? by nysus

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.