On Thu, Nov 13, 2008 at 12:45 AM, Rick Welykochy <[EMAIL PROTECTED]> wrote: > > As far as a standardised .perltidyrc, my only comment is "please > explain!"
Hi again, Rick - perltidy is a tool that attempts to format perl code in a consistent way. That .perltidyrc file sets most things to the default, but changes a few things to be consistent with what seemed like was common agreement at some point. I actually stole most of the settings from a few emails that were traded on some Koha list several years before I arrived on the scene. I stuck it in git so that we could all get to it. I've been using it to format new blocks of code that I contribute. I have my editor set to take a portion of a file and replace it with the portion that has been formatted with perltidy. I've tried to remember to do that on most new code I submit and on pieces that I change. No one seems to be complaining about the format of my code too loudly, yet, so I guess it's mostly acceptable to the community. I have noticed that proposals that seek to reformat files in bulk have not been received too well. I encourage you to take a look at perltidy. I think it makes perl code a little bit more readable. -Andy _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel