in reply to array scoping

Hello. Unless I misinterpreted your question, it sounds to me like you want to "remember" a value in the script from a previous execution cycle.

Unless the script is going to be running continuously, I would go with the logfile route.

Replies are listed 'Best First'.
Re^2: array scoping
by Mark.Allan (Sexton) on Oct 11, 2013 at 16:01 UTC
    Thats correct, logfile it is. Thanks