johnfl68 has asked for the wisdom of the Perl Monks concerning the following question:
Hello. Not really a question, more so just getting your input. Not sure if there is a better name; Section Dividers, Comments Divider, Section Break, and I am sure there are others. I couldn't seem to find any common industry name.
Usually I do this to put in easy to find visual section breaks in code:
#################### # Name or Description of Code Section ####################
Part of my issue is that when I do this, and then use Perltidy, it changes the indent of the middle line only to match the indent of the section, so they come out looking like this:
#################### # Name or Description of Code Section ####################
There may be some switch in Perltidy so that it doesn't do the indent in the middle, I haven't found an answer yet. Is there a way that you do Section Dividers differently, that doesn't do this? Just curious if others do anything like this in Perl, and what you find works best for you.
Thank you.
|
---|