Both nbbc and msc relate to perltidy adding whitespace to set apart
comments.
[-nbcc], -bbc, --blanks-before-comments
A blank line will be introduced before a full-line
comment. This is the default. Use -nbbc or
--noblanks-before-comments to prevent such blank lines from being
introduced.
No idea what this does? Do you have a visual example?
If we don't add -nbbc, this:
if (1) {
# do stuff if our condition is satisfied
do_something();
}
becomes this:
if (1) {
# do stuff if our condition is satisfied
do_something();
}
-msc=n, --minimum-space-to-comment=n
Side comments look best when lined up several spaces to
the right of code. Perltidy will try to keep comments at least n
spaces to the right. The default is n=4 spaces.
Same as above...
If we don't add -msc=1, this:
do_something(); # doing this is really important
becomes this:
do_something(); # doing this is really important
Note that if a coder chooses to put extra whitespace before their
comments, perltidy won't muck with that given my suggested settings; but
these settings prevent perltidy from adding whitespace that the coder
didn't want.
-Jared