Thank you for your answer. And sorry for the lack of details in my description. The files I am reading are txt files with each row containing a parameter name and its value (separated by spaces). However, I don't have any difficulties reading the files, creating an array of names and an array of the corresponding values.
What does "do" mean in this context? As I'm sure you understand, I'm quite a beginner at Perl :)