Andrew_Levenson has asked for the wisdom of the Perl Monks concerning the following question:
use strict; use warnings; use Text::Autoformat; my @array=qw/@/; for my $i(1..10){ @array = autoformat (@array, { justify => 'center' }); print "@array\n"; ((push @array, '@') x 2) if scalar(@array) < 10; ((pop @array) x 2) if scalar(@array) >= 10; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Text::Autoformat
by GrandFather (Saint) on Apr 28, 2006 at 20:06 UTC | |
by Andrew_Levenson (Hermit) on Apr 28, 2006 at 20:23 UTC | |
by GrandFather (Saint) on Apr 28, 2006 at 20:39 UTC | |
by Andrew_Levenson (Hermit) on Apr 28, 2006 at 20:42 UTC | |
|
Re: Text::Autoformat
by GrandFather (Saint) on Apr 28, 2006 at 20:18 UTC |