
gvh
Deleted
Apr 28, 2000, 3:13 PM
Post #2 of 2
(254 views)
|
This is one of the many easy things in perl. Just draw up some format lines, initialise your variables for each line to be printed and call write; (assumeing you print to STDOUT; you can of course always open a file and write tot that handle) Your formats (for STDOUT) could look like these: <BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR> format STDOUT_TOP = Whatever header text you may desire @| || || || || || || || || || || || || || || || || || || || || || || || || || || || || || || || | scalar localtime() Item 1 Item 2 Item 3 Item 4 Item 5 Item 6 ---------- ---------- ---------- ---------- ---------- ---------- . format STDOUT = @<<<<<<<<< @<<<<<<<<< @<<<<<<<<< @<<<<<<<<< @<<<<<<<<< @<<<<<<<<< $1, $2, $3, $4, $5, $6 . </pre><HR></BLOCKQUOTE> Have a look at the perlform manpage I hope this helps. pp2u (Perl power to you) [This message has been edited by gvh (edited 04-28-2000).]
|