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

Re: [MacPerl] MacPerl warn and die format



On 01 Jan 1999 01:01:23 +0100, Matthias Neeracher wrote:
>
>In article <199812301316.FAA14306@avocet.prod.itd.earthlink.net>, "Paul
J. Schinder" <schinder@pobox.com> writes:
>> On Wed, 30 Dec 1998 07:55:38 -0500, Chris Nandor wrote:
>>> 
>>> Of course, Matthias is the final word, but I don't think the current
>>> behavior is proper.  It breaks things.
>
>> I agree. Many authors check for /^error string/ in $@, which won't match
>> under MacPerl because of the '# ' in front.
>
>Checking for error strings this way is almost certainly a terrible idea
anyway,
>so I'm not overly inclined to accommodate to the wishes of that crowd.
>
>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.

Chris, maybe this should get mentioned in perlport.

>
>Matthias
>
>-- 
>Matthias Neeracher <neeri@iis.ee.ethz.ch>
http://www.iis.ee.ethz.ch/~neeri
>   "I'm set free to find a new illusion" -- Velvet Underground
>



-------
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