Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 contemplating the Monastery: (6)
As of 2014-09-18 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (126 votes), past polls