Klaas-Jan Stol (via RT) wrote: > # New Ticket Created by Klaas-Jan Stol > # Please include the string: [perl #58374] > # in the subject line of all future correspondence about this issue. > # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58374 > > > > From PDD19: > > Identifiers don't have any limit on length > at the moment, but some sane-but-generous length limit may be imposed in the > future (256 chars, 1024 chars?). > > > A decision on this must be made, and this must be implemented in the PIR > lexer. > > (I think 64 chars. might be enough as well; who's using longer names than > that?)
For example Larry ;-) The other day he hit the max identifier length in perl 5 (I didn't know that such a thing existed) when his Perl 6 grammar was translated to perl 5, and infix:<!=> was translated to infix_bang_equals or whatever. Longer operators had long names - too long some times. So for generated code it's not so uncommon to have long identifiers. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/