Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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');

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1019583]
[Wcool]: hi there
[Wcool]: Does anyone know how to assign STDOUT to a file var in perl6?
[choroba]: hey
[Wcool]: i.e. eequivalent of
[Wcool]: $fh_out = *STDOUT;

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (16)
As of 2017-03-23 15:43 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (289 votes). Check out past polls.