in reply to namespace hacking with globs
I think you're looking for
The way it works is that it sets *ON::Ar{ARRAY} to be $HugeArrayRef. Thus $HugeArrayRef is now de facto the array that @ON::Ar represents. There's more about this in perldata (see e.g. "Typeglobs and Filehandles") and perlref for *foo{THING}.*ON::Ar = $HugeArrayRef
lodin
|
|---|