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 Anonymous Monk
on Feb 19, 2013 at 15:02 UTC ( #1019583=note: print w/ replies, xml ) Need Help??


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

Have you read perlintro?

From that tutorial you're reading

$template->param( STUDENT => [ { NAME => 'Bluto Blutarsky', GPA => '0.0' }, { NAME => 'Tracey Flick' , GPA => '4.0' }, ] );

Do you know what those square brackets and curly braces do?

Say it with me:

my $hashref = { 'hasherefs', 'are', 'curly', 'ones' };

my $arrayref = [ 'arrayrefs', 'are', 'square' ];

my %hash = ( 'lists are round' , 'but hashes want pairs');


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://1019583]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2015-07-04 21:26 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 (60 votes), past polls