Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by Anonymous Monk
on Jul 28, 2015 at 23:32 UTC ( #1136677=note: print w/replies, xml ) Need Help??


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

How would incorrect line ending characters cause this error?

It wouldn't because perl doesn't care about crlf or lf line endings

ikegami is assuming a cause because of "xception" which suggests an "\r" got into the output stream .... its just causing your shell to hide more of the message

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

Replies are listed 'Best First'.
Re^4: Test::Exception error on Strawberry Perl 5.14.3 ('Bareword "xception" ...')
by 1nickt (Abbot) on Jul 28, 2015 at 23:55 UTC

    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.

      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.

Log In?
Username:
Password:

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

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

    No recent polls found

    Notices?