First problem occurs when building Scope::Upper (which is a TryCatch prerequisite):
Upper.xs:1331:11: error: ‘CXt_LOOP_FOR’ undeclared (first use in this +function) case CXt_LOOP_FOR:
Therefore Scope::Upper fails to build and does not get installed.
Versions of perl prior to 5.24.0 define CXt_LOOP_FOR in cop.h, but not perl-5.24.0.
But it's worse than that - see the bug report.
That thread contains a patch which might solve your issue if you wish to apply it.

TryCatch therefore fails its tests because Scope::Upper cannot be found.
Therefore, TryCatch fails to install. You could force the installation but that won't help because TryCatch.pm needs to load Scope/Upper.pm and there's no way of installing a loadable Scope::Upper when it fails to build.

I would take this up with the authors of these 2 modules.
Does TryCatch *really* need to use Scope::Upper ?
Maybe the Scope::Upper author would agree to upload a devel version of Scope::Upper that at least builds (despite his reservations about the mileage that would provide). It could be that the broken aspects of Scope::Upper don't impact on TryCatch.pm and it's just a matter of installing the patched version.

Or you could consider using something else .... or revert to perl-5.22.x or earlier.

Cheers,
Rob

In reply to Re^3: How to add path to @INC by syphilis
in thread How to add path to @INC by TSN

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.