Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: Test::Exception error on Strawberry Perl 5.14.3 ('Bareword "xception" ...')

by 1nickt (Abbot)
on Jul 28, 2015 at 23:55 UTC ( #1136680=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1136680]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2019-07-19 14:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?