- or download this
#!/usr/bin/perl -w
...
3,vw,bug
3,vw,jetta
3,vw,phaeton
- or download this
my @carmakers = (
\%thismaker,
\%thismaker,
\%thismaker
);
- or download this
my %thismaker = ('thismaker' => 'gm', 'makes' => \@makes);
- or download this
my @makes = (\%thismake, \%thismake, \%thismake);
- or download this
my %thismake = ('thismake' => 'saturn');
my %thismake = ('thismake' => 'chevy');
my %thismake = ('thismake' => 'caddy');
- or download this
<tmpl_loop carmakers>
<tmpl_var thismaker>
...
<tmpl_var thismake>
</tmpl_loop>
</tmpl_loop>
- or download this
my $seen = 0;
...
$maker{'makes'} = \@makes;
}
}
- or download this
while (looping over something) {
if (cond1) {
...
do a bunch of other things
}
}