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

Re: [MacPerl] MacPerl warn and die format



On Fri, 1 Jan 1999 10:44:26 -0500, Chris Nandor wrote:
>
>At 21.50 -0500 12.31.1998, Paul J. Schinder wrote:
>>On 01 Jan 1999 01:01:23 +0100, Matthias Neeracher wrote:

>>>Dropping the ^ often works.
>>
>>It's always worked in my experience, and authors are usually willing to
>>change. But it's another gotcha for MacPerl users using modules straight
>>from CPAN.
>
>Yes, and that is my main concern.  I was hoping we could find an easy fix,
>though I could not see one.
>
>
>>Chris, maybe this should get mentioned in perlport.
>
>Well, let's wait until we know we won't change it. But if it remains,
then
>yes, absolutely.
>
>Basically, it would say as Matthias noted: do not use ^, and do not check
>for anything after the warning (i.e., for the line number, etc.), and if
>you do, then do not assume any certain text or lack of it between the
>warning and what comes after it.

Sounds about right. Of course, people who count cycles will complain about
not being able to use an anchor in the regexp. But it should be documented
soon if it's not going to change, because AFAIK there's no reason an
author to expect the error strings to be any different from the ones he
sees in front of him.

>
>--
>Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
>%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])
>
>

-------
Paul J. Schinder
schinder@pobox.com


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch