in reply to using format to align
use strict; use warnings; my @row; my @stuff = ( [qw(foo bar 3)], [qw(foo2 bar2 4)], [qw(foo3 bar3 5)], ); for (@stuff) { @row = @$_; write; } format STDOUT_TOP = ---------------------------------- NAME LAST COUNT ---------------------------------- . format STDOUT = @<<<<< @||||| @### @row .
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (jeffa) Re: using format to align
by Anonymous Monk on Mar 27, 2003 at 15:41 UTC | |
by jeffa (Bishop) on Mar 27, 2003 at 16:59 UTC | |
|
Re: (jeffa) Re: using format to align
by Anonymous Monk on Mar 27, 2003 at 15:24 UTC |