New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Long error message, which writes a full content of variable supposed to be package name. #16826
Comments
From dunedimensia@gmail.comCreated by dunedimensia@gmail.comError message can become very long, depending on variable. perl -le '$_ = "a" x 1e2; print 1; print 2, poa $_' OUTPUTS: Originally I got >1e5 length message, because of mistyping 'pos'. Maybe ellipsis would fit here. Perl Info
|
From @jkeenanOn 1/24/19 8:15 AM, Robertas Stankevi� (via RT) wrote:
perl -le '$_ = "a" x 1e2; print 1; print 2, poa $_' OUTPUTS: Originally I got >1e5 length message, because of mistyping 'pos'. Maybe My 2 cents: I believe it would be next to impossible to develop a rule Thank you very much. |
The RT System itself - Status changed from 'new' to 'open' |
From @GrinnzOn Fri, 25 Jan 2019 05:53:52 -0800, jkeenan@pobox.com wrote:
I believe there is a maximum package name size; since this is trying to interpret it as a package name via indirect syntax, perhaps that would be a sensible limit for the error message? |
From wagnerc@plebeian.comHonestly, at this point I would be in favor of removing indirect objects unless you do something like use indirectobjects. After the appropriate warning cycle of course. Thanks. |
From @GrinnzOn Fri, 25 Jan 2019 17:35:28 -0800, wagnerc@plebeian.com wrote:
While I agree with the sentiment, that's not relevant to this bug, since the same behavior would occur with direct method syntax. |
Partial notes for implementing something here:
IDK what the limit - if there is one - on the size of compound names is. Options seem to be:
|
Hmm, actually, |
Migrated from rt.perl.org#133796 (status was 'open')
Searchable as RT133796$
The text was updated successfully, but these errors were encountered: