Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Solved: Re: Test::Exception error on Strawberry Perl 5.14.3 ('Bareword "xception" ...') [ Bug in Perl ]

by 1nickt (Abbot)
on Jul 30, 2015 at 16:02 UTC ( #1136887=note: print w/replies, xml ) Need Help??


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

Thank you for digging into this. I also learned that 5.14.3 is not officially supported, so I am inclined not to worry about the bug and the test failure.

I would like to have zero test failures, however, so I am thinking I will change the use open() call to a use if ... statement so it doesn't load under the broken perl/OS combo.


The way forward always starts with a minimal test.
  • Comment on Re^3: Solved: Re: Test::Exception error on Strawberry Perl 5.14.3 ('Bareword "xception" ...') [ Bug in Perl ]
  • Select or Download Code

Replies are listed 'Best First'.
Re^4: Solved: Re: Test::Exception error on Strawberry Perl 5.14.3 ('Bareword "xception" ...') [ Bug in Perl ]
by Anonymous Monk on Jul 30, 2015 at 19:48 UTC

    I would like to have zero test failures, however, so I am thinking I will change the use open() call to a use if ... statement so it doesn't load under the broken perl/OS combo.

    Naturally you're free to do what you think is best

    but

    why do you even care that STDIN/STDERR/STDOUT are in utf8?

    most windows machines don't show unicode by default unless you do chcp

    test suite shouldn't much care if STD* are utf8, if there is an encoding problem in a failing test, byte information is what is important , not correct drawing/rendering in the local shell

    but if you care just binmode $_, q{:utf8} for *STDIN, *STDOUT, *STDERR;

      if there is an encoding problem in a failing test, byte information is what is important , not correct drawing/rendering in the local shell

      Quite so. I just didn't like the warning about printing a wide character.

      Thanks for your response.


      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://1136887]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2019-07-21 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If you were the first to set foot on the Moon, what would be your epigram?






    Results (8 votes). Check out past polls.

    Notices?