in reply to typglob problem

Globs are symbol table entries, and only package variables are in the symbol table. Lexical (my) variables are not in the symbol table.

But there's no reason for you to be using globs anyway.

use strict; use warnings; my $cure = "cure"; my @cure = ('one', 'two', 'three'); cure(\$cure); sub cure { my $new = shift; print $$new; }

perlref, perlreftut