in reply to preserve array from getting re-initilize

That's perfectly fine. You could also use state, but I prefer the above.

[ hum, [doc://state] doesn't work. ]

Replies are listed 'Best First'.
Re^2: preserve array from getting re-initilize (OT links)
by toolic (Bishop) on Jul 15, 2010 at 03:16 UTC
Re^2: preserve array from getting re-initilize
by AnomalousMonk (Archbishop) on Jul 15, 2010 at 04:20 UTC
    [doc://perlfunc#state-EXPR|state] and [doc://perlfunc#state-EXPR] also work as make-dos: state and state EXPR.