in reply to creating references

*foo is a typeglob, or glob for short. It is the part of the symbol table that holds the variables associated with a name. Since the symbol table contains the package variables, the variables a glob contains are package variables (often called global variables). my creates lexical variables. They're stored in the current function's pad, not the symbol table.