Subject: | Fails with an empty string argument |
autoformat("") returns undef instead of its empty string argument.
Show quoted text
linux> perl afBugRpt.pl
Use of uninitialized value $formatted in concatenation (.) or string at afBugRpt.pl line 6.
Test conditions:
Text::Autoformat v1.67
perl v5.18.1, x86_64-linux-thread-multi
Linux 3.11.10-25
Subject: | afBugRpt.pl |
use strict;
use warnings;
use Text::Autoformat;
my $formatted = autoformat("");
print "$formatted\n";