in reply to O, the horrors of references and complex data structures
and leave all else the same. This replaces the global typeglob with a new temporary replacement, your sub runs, pushes the ref the array, and then returns, replacing the original global. You then run again and get a new typeglob, etc.local *globHash;
Not the best way, but it works.
|
|---|