3 ms·
This made me curious as to what the Perl Tidy formatter was like, as I use it often. You know, it's Perl, so maybe a few regexes here and there, and much wizard
by justinator 11y ago
This made me curious as to what the Perl Tidy formatter was like, as I use it often. You know, it's Perl, so maybe a few regexes here and there, and much wizardry.
The Tidy.pm module is 1.1M in size, and over 30,000 lines long. I have much respect for formatters now, I thought the job they do was an easy one.
Fantastic looking sourcecode, btw,
https://metacpan.org/source/SHANCOCK/Perl-Tidy-20150815/lib/Perl/Tidy.pm https://metacpan.org/source/SHANCOCK/Perl-Tidy-20150815/lib/...