- -b does not work through the Tidy module
- The use of -b in the following does not work:
-
- use Perl::Tidy ();
- use File::Spec;
-
- my $file = File::Spec->catfile( $dir,
- $filename );
-
- Perl::Tidy::perltidy(
- source => $file,
- argv => '-b',
- perltidyrc => $perltidyrc,
- );
-
- A temporary workaround is:
-
- Perl::Tidy::perltidy(
- argv => "-b $file",
- perltidyrc => $perltidyrc,
- );
+ Provide an option to ignore side comments when checking line length.
+ That is, side comments would be allowed to be arbitrarily long without
+ influencing line breaks.