in reply to array scoping
Maybe it is just me, but I don't understand your question. " I want to store the last known output value even outside the time window". Which output value? Output value from what? Which time window? "but my output is getting overwritten with the default output when it completes the time block" time block?
In Section
Seekers of Perl Wisdom