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

Re: [MacPerl] MacPerl warn and die format



In article <v04020a0eb2afd29e6f47@[192.168.0.77]>, Chris Nandor <pudge@pobox.com> writes:
> At 00.13 -0500 12.30.1998, John W Baxter wrote:
>>Ronald:
>>> Would there be any problems in having MacPerl use the same format as the
>>> regular distribution?
>> 
>> Yes...MacPerl under MPW would become much less pleasant to use.

Exactly.

> I disagree.  If this behavior is to be kept, I think it should be limited
> to output directed to an MPW window itself, if possible.

That would introduce more, instead of fewer, special cases.

> There are too many places in modules and programs, including core modules
> that come with Perl, that depend on a certain format.

My feeling about this is that the current behavior is overly hard wired, both
for %SIG and for non-Un*x systems. There seems to be a general feeling of
unrest in that area, so maybe we can get the entire complex addressed at once.

> If you want to take it on yourself to notify every author of every module
> on CPAN that checks $SIG{__WARN__}, $SIG{__DIE__}, $@, etc., then I suppose
> that would be a reasonable alternative, too.

Hehe.

> Of course, Matthias is the final word, but I don't think the current
> behavior is proper.  It breaks things.

Well, the fact that I went out of my way to *change* the format away from the
default might provide a slight hint that I disagree on that point.

This debate is certainly legitimate, however, and also timely, since I'll
probably review all Mac specific patches again in the next release of MacPerl
and this particular patch is rather large.

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

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