kevinw has asked for the wisdom of the Perl Monks concerning the following question:
but the data for each $hash($key) is of different length....how would i format this to get the data to be in straight columns? fromforeach $key (sort keys %hash) { print "$key\n$hash{$key}\n"; }
totype abcdef 12 11 19 obc 1 3 4
thankstype abcdef 12 11 19 obc 1 3 4
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Formatting Into Columns
by PhiRatE (Monk) on Jul 23, 2002 at 22:10 UTC | |
|
Re: Formatting Into Columns
by emilford (Friar) on Jul 23, 2002 at 21:08 UTC | |
|
Re: Formatting Into Columns
by ehdonhon (Curate) on Jul 23, 2002 at 21:08 UTC |