Just assign the reference to the array slot of the glob:
my $ref = $some->{huge}->[42]->{arrayref}; *ON::Ar = $ref; print for @ON::Ar;
You might also want to consider Data::Alias.
In reply to Re: namespace hacking with globs
by Corion
in thread namespace hacking with globs
by jettero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |