hambo has asked for the wisdom of the Perl Monks concerning the following question:
Now, I wish to generate a TEXT table looking like this:%HoH = ( flintstones => { lead => "fred", pal => "barney", }, jetsons => { lead => "george", wife => "jane", "his boy" => "elroy", }, simpsons => { lead => "homer", wife => "marge", kid => "bart", }, );
flintstones jetsons simpsons ------------- --------------- ----------- lead, fred lead , george lead, homer pal , barney wife , jane wife, marge his boy, elroy kid , bart
format LINE= @<<<<<,@<<<<<< @<<<<<,@<<<<<<<< @<<<<<,@<<<<<<<< $role1,$name1 $role2,$name2 $role3,$name3 .
format LINE= @<<<<<,@<<<<<< $role ,$name .
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using format to creat tabular report
by duff (Parson) on May 12, 2004 at 16:35 UTC | |
|
Re: Using format to creat tabular report
by fireartist (Chaplain) on May 12, 2004 at 10:54 UTC |