The HTML:
<html><head><title>Ordered Lists</title></head>
<body>
Bedrock
<ol>
<li>Fred
<li>Barney
<li>Wilma
<li>Betty
<li>Pebbles
<li>Bamm Bamm
</ol>
</body></html>
will look like:
Bedrock
@bedrock = ("Fred", "Barney", "Wilma", "Betty",
"Pebbles", "Bamm Bamm") ;
To retrieve an item of the list ( In perl the numbers of array items begin with 0 ):
print "$bedrock[0]\n" ;
will print:
Fred
and
print "bedrock[3]\n" ;
will print:
Betty