Subject: | trying to parse Perl::Tidy fails with "File is too large" |
If I try and parse Perl::Tidy, it dies with
Perl::Tidy
Looking at the code it says:
if ( $self->{source_bytes} > 1048576 ) {
# Dammit! It's ALWAYS the "Perl" modules larger than a
# meg that seems to blow up the Tokenizer/Lexer.
# Nobody actually writes real programs larger than a meg
# Perl::Tidy (the largest) is only 800k.
# It is always these idiots with massive Data::Dumper
# structs or huge RecDescent parser.
PPI::Exception::ParserRejection->throw("File is too large");
But now Perl::Tidy 1.74 is 1088055 bytes :-(
Would you accept a patch to change this hard-coded figure?