perlquestion
Anonymous Monk
So I've got this data:
<br><br>
Title Line<br>
Author Line<br>
Link Line<br>
-blank-<br>
... repeat ad nauseum<br><br>
Only right now it's in an array, with the items separated by<br> blanks:
<CODE>
[ 'Title', 'Author', 'Link', '', 'Title', ... ]
</CODE>
<br>
I really would like it to end up as an array of hashes of the form:<br>
<CODE>
[
{ Title => 'Title Data',
Author => 'Author Data',
Link => 'Link Data'
},
etc.
]</CODE>
Any ideas how I go through the array, putting things<br>
where they should go?<br>
--Jay
26