On 1/24/19 8:15 AM, Robertas Stankevič (via RT) wrote: > # New Ticket Created by Robertas Stankevič > # Please include the string: [perl #133796] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org/Ticket/Display.html?id=133796 > > > Error message can become very long, depending on variable. perl -le '$_ = "a" x 1e2; print 1; print 2, poa $_' OUTPUTS: 1 Can't locate object method "poa" via package "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" (perhaps you forgot to load "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"?) at -e line 1. Originally I got >1e5 length message, because of mistyping 'pos'. Maybe ellipsis would fit here. > My 2 cents: I believe it would be next to impossible to develop a rule which says one particular error message is too long while another one is the right length. So I don't believe any change in this area is warranted. Thank you very much. Jim KeenanThread Previous | Thread Next