"No trailing space was found."
+Or, if you want the test to be optional:
+ eval "use Test::TrailingSpace";
+ plan skip_all => "Test::TrailingSpace required for trailing space test.";
+ my $finder = Test::TrailingSpace->new(
+ filename_regex => qr/\.(?:t|pm|pl)\z/,
+ "No trailing space was found."
This module is used to test for lack of trailing space. See the synopsis