-pbp (Perl best practices) which is often used, includes -st, which is incompatible with this script. But when using perltidy from the command line, -nst is not wanted in most cases.
This change adds the -nst option to the arguments passed to Perl::Tidy, making it work for .perltidyrc files which contain -pbp but not -nst.
-pbp (Perl best practices) which is often used, includes -st, which is incompatible with this script. But when using perltidy from the command line, -nst is not wanted in most cases.
This change adds the -nst option to the arguments passed to Perl::Tidy, making it work for .perltidyrc files which contain -pbp but not -nst.
More details: