![]() |
|
Think about Loose Coupling | |
PerlMonks |
Section Dividers - What are your thoughtsby johnfl68 (Scribe) |
on Jun 05, 2020 at 13:30 UTC ( #11117714=perlquestion: print w/replies, xml ) | Need Help?? |
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:
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:
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.
Back to
Seekers of Perl Wisdom
|
|