Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Drawing a table

by tomhukins (Curate)
on Jun 29, 2005 at 09:41 UTC ( [id://470944]=note: print w/replies, xml ) Need Help??


in reply to Drawing a table

I often use Template::Toolkit for this type of problem.

You may find it overkill to include such a large module with several dependencies if you're only writing a small script that you want to distribute widely. If I write something for personal or proprietary commercial use, I know that any system I use will already have TT installed.

For outputting a text table, see Template::Plugin::Filter's format method, and maybe the length virtual method if you want to resize the table according to the text displayed, or the truncate filter if you don't.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://470944]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 23:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found