The 'g' is not superfluous; it's wrong (i.e. buggy, can cause errors). 'g' in scalar context is almost always wrong.
In reply to Re^2: Bizarre copy of ARRAY
by ikegami
in thread Bizarre copy of ARRAY
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |