if the user supports HTML email, you could use an HTML TABLE
 
i am not too familiar with perl format strings, but you could also use one of those:
 
 
 
    format Something =
Test: @<<<<<<<< @||||| @>>>>>
      $str,     $%,    '$' . int($num)
    .
    $str = "widget";
    $num = $cost/$quantity;
    $~ = 'Something';
    write;
 
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Thierry Botten
Sent: Saturday, April 21, 2001 4:12 PM
To: [EMAIL PROTECTED]
Subject: Layout question...

Hi,
 
I'm currently stuck with some layout problem.
Scenario is simple : i have a webform that asks some stuff and processes these figures using a perl script. Once the processing is done the visitor get's an e-mail with some descriptions and some figures. And the last line contains a grand total.
For now it looks about like the ex. below :
 
Description                Amount               Total
--------------------------------------------------------------------------
Milk                          1                         10$
Cheese                        3                         20$
Die Hard DVD                       1                         20$
Coke                          3                         5$
---------------------------------------------------------------------------
Grand Total                                            55$
 
The question : How can i make this layout better? Any code examples would be nice :-)
 
Gee, i hope this q isn't too off-topic...
Anyways, thanks for any feedback!
Greetings,
 
 
Thierry Botten

Reply via email to