in reply to Trying to read a file into a Hash of Arrays
This doesn’t even compile. You have use strict but then don’t declare %HoA or $venue.
it seems to hang on the 'split' line
No, even if you get it to run, it never reaches the split line: the preceding line:
next unless s/^(.*?):\s*//;
skips all the input lines, because none of them contain a colon as specified in the regex.
Also note that you cannot write to a filehandle which has been opened for reading only. See:
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
|
|---|