[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Re: [MacPerl-Modules] HTML::Pareser 3.13 Test Error



On Tue, 19 Sep 2000 07:16:52 -0400, Paul Schinder wrote:

>Those error messages you're seeing are a deliberate part of the test, 
>and actually most of the tests are passing.  The problem is a common 
>one.  MacPerl prepends a '# ' to the messages that go into $@, and 
>the tests look for an anchored string, so the string doesn't match. 
>Take the ^ off the match strings in the tests and see what happens.

This comes up regularily. Having a different error message format than
the rest of the Perl world is annoying for this kind of tests, but
having an error message that is different from what LWP normally would
expect form a program, is not ideal either.

How about having a Macintosh specific special variable (or a hash entry,
for example in %^H; too bad perlvar advises against it), which controls
which error message format you get, would that work?

-- 
	Bart.

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org