According to the error report, I would guess that a regular expression is not being escaped properly. It appears that a number prefixed by a backslash is causing it problems (see the '\5 <-- HERE' in test output) around line 60 of aliased::factory. This is also supported by the large numbers of passes on *nix and failures on Windows.

In fact, the error appears to be in the line

($err = $@) =~ s/ at $f line \d+\.\n//;

I believe that it should be (untested)

($err = $@) =~ s/ at \Q$f\E line \d+\.\n//;

Update: Had \Q and \E reversed. perlre

Update2: Bug report submitted.

A test should probably be written (if possible) to reproduce this as part of the patch package. HTH.

--MidLifeXis


In reply to Re: Package shortener and loader by MidLifeXis
in thread Package shortener and loader by metaperl

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.