On Fri, Dec 6, 2013 at 10:58 AM, David Mertens <[email protected]> wrote:
>
> If we go that far, then I think we could benefit a lot by using structured
> exceptions. CHM, are structured exceptions on our list? Can that be rolled
> into the warnings cleanup?

Better errors and diagnostics definitely are.  If you have
ideas for a mnemonic feature request on this/these topics,
please open a ticket.

--Chris


> On Fri, Dec 6, 2013 at 10:29 AM, Piero Ranalli <[email protected]>
> wrote:
>>
>> Hi
>>
>> reading the following line from Ingo:
>>
>> > Far less important but still, the barf on multielement piddles!
>>
>> I remembered another thing that maybe could be improved.  When there's
>> an error message, it points to within the PDL source code, as in the
>> following one-liner:
>>
>> piero$ perl -MPDL -E '$q=sequence 10; say $q->at(11);'
>> Position out of range at Basic/Core/Core.pm.PL (i.e. PDL::Core.pm) line
>> 3300.
>>
>> I'd really like the message to point at my code, instead of PDL's.
>> Would it be difficult for PDL to use Carp (or any similar approach)?
>>
>>
>> regards,
>> Piero

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to