Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Using HTML Template to fill a 2-dimensional table

by tangent (Curate)
on Feb 19, 2013 at 16:09 UTC ( #1019610=note: print w/ replies, xml ) Need Help??


in reply to Using HTML Template to fill a 2-dimensional table

It might be clearer if you do it this way:

my $split; for (@LINES) { my ($date,$type,$amt,$bal) = split ('&', $_); my $hash_ref = { Date => $date, Type => $type, Amount => $amt, Ending_Balance => $bal, }; push(@$split,$hash_ref); } $template->param(TRANSACTIONS => $split);


Comment on Re: Using HTML Template to fill a 2-dimensional table
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1019610]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (13)
As of 2015-07-30 23:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls