begood321 has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Array not accessible in foreach loop
by choroba (Cardinal) on Jul 24, 2013 at 21:44 UTC
    There is no for loop at line 944 nor anywhere near. Please, try to shorten your code to a short, self contained, correct example.
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
Re: Array not accessible in foreach loop
by swafo (Initiate) on Jul 24, 2013 at 22:46 UTC

    Are you certain that @branchesSelected is being populated with anything?

    What I'm getting at is: are you sure that the foreach loop in question is even being run? If there are no values in @branchesSelected, then that loop would in effect never be processed.

    You only displayed log entries that have to do with the first loop where @selectedFiles gets populated. So I don't know if this is because no other logging occurred after that?, or if you simply did not include those entries.