I got lots of warnings like this while using Padre:
Use of uninitialized value $trailing_spaces in length at
/home/gabor/perl5/lib/perl5/Text/FindIndent.pm line 296.
I think that code should be sg like this
my $trailing_spaces = '';
if ($str =~ s/( +)$//) {
$trailing_spaces = $1;
}
or the regex should be
$str =~ s/( *)$//
but I could not create a test case so I have not applied the patch.