Hi, I'm looking at another ten hours of troubleshooting (sucks to not know much Perl!), so I thought I would ask.
I have several arrays,
@title, @author, @date, each of which have multiple elements.
I need to output all the elements (several hundred) organized as:
Title: "title from array"
Author: "author from array"
Date: "Date from array"
In my searching the closest I got was another perlmonks thread:
while (@title, @author, @date) {
print join ': ', map shift @$_ // 'NULL', \@title, \@author, \@dat
+e;
print "\n";
}
This gets all the information out, but not formatted right. Would I be able to add the text and newlines to this code, or should I use something entirely different?
I realize it could probably be done with hashes but currently it's in arrays so hoping that can work.
Thanks!