in reply to Re: Test::More fails on foreach loop
in thread Test::More fails on foreach loop

Ok. Returning 1 fixed the issue. Thanks for helping me understand.

Replies are listed 'Best First'.
Re^3: Test::More fails on foreach loop
by ikegami (Patriarch) on Mar 16, 2011 at 20:05 UTC
    Not really. Now you have a test that can't possibly fail. You want
    # Not ok if parse throws an exception. ok(eval { $xbrl->parse($incoming_file); 1 });
      Thanks for your help!