in reply to Working with a unkown number of arrays

Whatever you do, please don't consider using a variable as a variable name.

Instead you should look at complex data structures like arrays of arrays. See perlreftut, perllol and perldsc for details.


Code review notes follow:

opendir (*LOWEST, "$input_directory_lowest")

Please take another look at the documentation for opendir. You are still getting it wrong. You pass it the name of a directory handle (LOWEST) not a typeglob (*LOWEST). And there is no need to quote the variable $input_directory_lowest.

if ($do_I_pick_up_request == 'Y')

And how many times have people tried to explain the difference between string and numeric comparison operators to you?

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.