in reply to Re^4: Question on the format statement
in thread Question on the format statement
I don't quite follow--I just added your sample data to the program, ran it, and don't see a problem. When you say "the code does not work if some of the fields are left undefined", what do you mean exactly? I'm not seeing any problems.
Regarding your comment on the space between columns not being adjusted, I don't know what you mean. Do you mean that the column headers don't match the numbers? If so, just adjust your format statements a bit. Or do you want all the columns to spread apart if one of the columns is wider than expected and shrink when a column is narrower than expected? If so, that's a bit more complicated...
...roboticus
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Question on the format statement
by perl_seeker (Scribe) on Apr 07, 2010 at 09:38 UTC | |
by roboticus (Chancellor) on Apr 07, 2010 at 18:12 UTC |