[damian@conway.org - Mon Nov 17 14:23:37 2003]:
Show quoted text> I think I must be misunderstanding your report. The following test
> code works fine for me (using Text::Autoformat 1.12):
>
> use Text::Autoformat;
>
> print "Autoformat $Text::Autoformat::VERSION\n\n";
>
> print autoformat <<EOT;
> This is a block of text with a colon at the
> very end and Chirayu claims it doesn't
> wrap correctly:
>
> This is supposed to test that.
> EOT
>
> If this is not the situation you meant could you send me a variation
> on it that illustrates the problem you're reporting?
Hi,
This variation does not work.
use Text::Autoformat;
print "Autoformat $Text::Autoformat::VERSION\n\n";
my $text = <<EOT;
This is a block of text with a colon at the
very end and Chirayu claims it doesn't
wrap correctly:
This is supposed to test that.
EOT
print autoformat $text, { left => 4, all => 1 };
Without the all => 1 the first block is fine, but when set the first
block is not indented. The second block is treated as expected
Thanks
Struan