I would like to clean up an existing subversion repository containing badly formatted Perl code. Since I am not sure if some comparisons with fairly开发者_Go百科 old code will be necessary, ideally I
A cat at my company walked over a keyboard and has left a valid 1000+ line of executable Perl code for me t开发者_开发知识库o maintain.
Coming from Perl I\'ve been used to hitting C-c t to reformat my code according to pre-defined Perl::Tidy rules. Now, with Python I\'m astonished to learn that there is nothing that even remotely rese
By default, PerlTidy will line up assignments in my code. E.g. PerlTidy changes this... my $red = 1; my $green = 2;
is there 开发者_开发技巧a possibility to make perltidy vertically align brackets like this: $foo->bar(1);
I have a small elisp script which applies Perl::Tidy on region or whole file. For reference, here\'s the script (borrowed from EmacsWiki):