in reply to Re^3: Cannot work on second file after reading first file.
in thread Cannot work on second file after reading first file.


Thank you for the explanation. I set MYSCRIPT_DEBUG to true. When I ran the script it printed:
Field names detected: (# de tienda tipo ubicacion

with the exception of "(", these are the names of the fields

Replies are listed 'Best First'.
Re^5: Cannot work on second file after reading first file.
by davido (Cardinal) on Feb 28, 2014 at 17:25 UTC

    Now put a "warn "I'm inside the While loop\n";" statement inside of your while loop.

    Remember, you said: "&separate_stores seems to never go into the while loop and the two store number arrays return empty.". Those are also assertions that you need to prove to yourself. Add "warn ......" statements all over the place to track your progress, and to report the values held in variables.


    Dave