Odd--you're right, though I can't figure out why. The
docs seem to say that you get a new glob when you
The construct local *name; creates
a whole new symbol table entry for the glob "name" in
the current package. That means that all variables in
its glob slot ($name, @name, %name, &name, and the
"name" filehandle) are dynamically reset.
In any case, the following does work correctly:
print "$a $b\n";
There is no sig.