in reply to Re^2: data structure advice please
in thread data structure advice please

True. I thought it may have complained that 'undef' (the initial value of $fileinfo{$_}) was not an array ref, but after testing it, I see it doesn't.