http://qs1969.pair.com?node_id=546388


in reply to Re: Text::Autoformat
in thread Text::Autoformat

Aha! That was interesting. I failed to notice that when figuring it out initially, but... huh. Thanks for your help!
use strict; use warnings; use Text::Autoformat; my $str=qw/@/; for my $i(1..11){ my $newStr = autoformat ($str, { justify => 'center' }); print "$newStr\n"; $str .= '@@' if $i <= 5; substr $str, -2, 2, '' if $i > 5; }