http://www.perlmonks.org?node_id=1136687


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" ...')

As I mentioned I find it very odd since t/40_fetch_memberships.t failed whereas t/10_obj_and_params.t, t/20_valid_drupal.t, t/50_term_object_params.t and t/60_membership_object_params.t all passed.

In those test files, the one that fails is the only one that contains:
use open ':std', ':encoding(utf8)';
Could that be connected to the error ? (Comment it out and see whether the same error arises.)
Does that line *have* to be situated before the loading of Test::Exception ?

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

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

    Thanks syphilis, it's worth a try. I'll make a new version and upload it tonight.

    The way forward always starts with a minimal test.