Re: Multiple lines of html store in variable non messy way
From: daveyand (andrew.davey_at_gmail.com)
Date: 01/06/05
- Next message: Anno Siegel: "Re: Trouble with returning data from recursive sub"
- Previous message: PerlFAQ Server: "FAQ 4.43: How do I compute the difference of two arrays? How do I compute the intersection of two arrays?"
- In reply to: Tad McClellan: "Re: Multiple lines of html store in variable non messy way"
- Next in thread: daveyand: "Re: Multiple lines of html store in variable non messy way"
- Reply: daveyand: "Re: Multiple lines of html store in variable non messy way"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 6 Jan 2005 03:13:45 -0800
hey guys thanks for the help, what i posted was what i tried, didnt
think about the =.
The reason i am doing this is i am trying to send an html email to
myself. The idea above was to try and add css to the email but turns
out i cant do that, or at least i havent l;ooked into it properly.
As for the end result, i am using a function to create a template per
se when creating the main body of the email. This is what the main
body now looks like:
my $mainbody = <<EndOfHTML;
<table border="1" cellpadding="5" cellspacing="5" width="80%">
<tr>
<td>Ticker</td>
<td>Price</td>
<td>Change</td>
<td>Percentage</td>
<td>Start</td>
<td>Highest</td>
<td>Lowest</td>
<td>Time</td>
</tr>
<tr>
<td>$csv_stockinfo{"ticket"}</td>
<td>$csv_stockinfo{"price"}</td>
<td>$csv_stockinfo{"change"}</td>
<td>$csv_stockinfo{"percent"}</td>
<td>$csv_stockinfo{"start"}</td>
<td>$csv_stockinfo{"highest"}</td>
<td>$csv_stockinfo{"lowest"}</td>
<td>$csv_stockinfo{"time"}</td>
</tr>
<tr bgcolor="#ff2120">
<td colspan="2"> </td>
<td>Quantity</td>
<td>Vesting Price</td>
<td>XCNG Rate</td>
<td>Sell All</td>
<td>Returns<td>Pounds</td>
</tr>
<tr>
<td colspan="2"> </td>
<td>$ShareAmount</td>
<td>\$$Initial_Price</td>
<td>$ExchangeRate</td>
<td>\$$Sell_Returns</td>
<td>\$$returns_minus_initial</td>
<td>£$Final_Earnings</td>
</tr>
</table>
EndOfHTML
I get the error:
Can't find string terminator "EndOfHTML" anywhere before EOF at
./calstockreturns.pl line 183.
What am i doing wrong??
- Next message: Anno Siegel: "Re: Trouble with returning data from recursive sub"
- Previous message: PerlFAQ Server: "FAQ 4.43: How do I compute the difference of two arrays? How do I compute the intersection of two arrays?"
- In reply to: Tad McClellan: "Re: Multiple lines of html store in variable non messy way"
- Next in thread: daveyand: "Re: Multiple lines of html store in variable non messy way"
- Reply: daveyand: "Re: Multiple lines of html store in variable non messy way"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|