in reply to Pointers to formatting output

Reading between the lines of your post --literally. I had to look at the source of the html to work out what you were after:) -- I think you want one of these two:

printf "%20s: \n", $_ for 'this', 'that', 'and this other bit'; this: that: and this other bit: printf "%-20s: \n", $_ for 'this', 'that', 'and this other bit'; this : that : and this other bit :

Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
Timing (and a little luck) are everything!

Replies are listed 'Best First'.
Re: Re: Pointers to formatting output
by ramthen (Sexton) on Jan 12, 2004 at 13:16 UTC

    thanks for pointers

    I followed suggestion given by BrowserUk and was able to log action as per my requirements

    Now when I mail this log using Net::SMTP module I do not get contents in same format as they are in log. I declared content-type to text in script

    From log :

    - Project : test_ch

    - Product : test

    Same log while sent as mail :

    - Project : test_ch

    - Product : test

    Does any body know reason for this behaviour ?

    /RamThen/