http://qs321.pair.com?node_id=661299

mhearse has asked for the wisdom of the Perl Monks concerning the following question:

I've got a working program which generates tabular pdf output dynamically. The only issue I'm having now is determining the column (textbox) length. It can't be fixed as a given report may have more/less columns. Also, I don't need a wide column for data which is only three characters. Currently I iterate over the data set, getting the max/average length of characters in a column. How can I translate this to textbox width? Also, is it possible to use width percentage for a situation such as this? Any help is appreciated.