|P is for Practical|
Re^2: variable as hash nameby blackzero (Acolyte)
|on Dec 08, 2012 at 05:19 UTC||Need Help??|
Thank you, Dave. Now, the point is that I'm reading an external file in the following format:
I have an array named @loci_codes with this content:
What I want is to read each line ( <> ), split and put the elements in an array
Than I want to take the elements of @alelos two by two and put each pair in a different hash. The PROBLEM is that I want each of these hashes to be named after on of the elements of @loci_codes.
And doing that for each line of the input, I want to have a hash named after a element of @loci_codes and populated with these pairs.
NOTE: The content of @loci_codes may change according to the input file readed. THATS why I cant use static names for the hashes.