Hi,
I've problem with aligning tabbed strings. My code looks something like this:
my $output = qq~Username\tLevel\tCreated\n~; foreach my $row (@rows) { $output .= qq~$row->[0]\t$row->[1]\t$row->[2]\n~; }
And I get something like this:
Username Level Created johnny 2 12-09-2008 rob 2 25-10-2008
Is there a way to align the value of each row correctly under each heading?
Thanks in advance :)
In reply to How to align tabbed strings? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |