in reply to Re^3: Test::Exception error on Strawberry Perl 5.14.3 ('Bareword "xception" ...')
in thread Test::Exception error on Strawberry Perl 5.14.3 ('Bareword "xception" ...')

I don't think it's the output stream from the test harness. The message seems complete:

Bareword "xception" not allowed while "strict subs" in use at C:/straw +berry5143/perl/vendor/lib/Test/Exception.pm line 4. Compilation failed in require at t/40_fetch_memberships.t line 14. BEGIN failed--compilation aborted at t/40_fetch_memberships.t line 14.

So if an "\r" or something like that got into the input stream, and caused line 4 of Test::Exception to be split as it was being read, why wouldn't the first half of the line cause an error?

package Test::E

(with no semicolon at the end of the "line")?

The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^5: Test::Exception error on Strawberry Perl 5.14.3 ('Bareword "xception" ...')
by Anonymous Monk on Jul 29, 2015 at 00:07 UTC

    I don't think...

    :) You don't have to, when ikegami has something worth saying, its not cryptic or confusing, you don't really have to decipher it

      If it weren't cryptic and confusing I wouldn't have asked ikegami to clarify his response.

      As for your comment, well, I just hope your code makes more sense.

      The way forward always starts with a minimal test.

        If it weren't cryptic and confusing I wouldn't have asked ikegami to clarify his response. As for your comment, well, I just hope your code makes more sense.

        Did you try his suggestion and did it change anything?

        It really has zero chance of affecting anything, its a nonsense suggestion