Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Syntactic Confectionery Delight
 
PerlMonks  

jms53's scratchpad

by jms53 (Monk)
on Jan 06, 2012 at 00:48 UTC ( #946511=scratchpad: print w/ replies, xml ) Need Help??

HTML::Template:
<h1>TRANSACTIONS</h1> <TMPL_LOOP NAME="TRANSACTIONS"> <TABLE BORDER="1"> <TR><TD>TRansaction</TD><TD>DATE</TD><TD>Type</TD><TD>Amount</TD> +<TD>Ending Balance</TD></TR> <TR><TD>Transaction:</TD> <TD><TMPL_VAR NAME="Date"></TD> <TD><TMPL_VAR NAME="Type"></TD> <TD><TMPL_VAR NAME="Amount"></TD> <TD><TMPL_VAR NAME="Ending_Balance"></TD></TR> </TABLE> </TMPL_LOOP>
How I'm obtaining the data to fill the table:
my @LINES = MyDB->get_transactions; #This was tested, it returns the c +orrect information my %split; for (@LINES) { my @row = split; $split{$_} = @row; } $template->param(TRANSACTIONS => \%split);
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2013-05-24 01:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (494 votes), past polls