|Next||Tricks of the Wizards||8|
How is the value of $foo looked up?
Figure out package name
Parse::RecDescent::foo --> Parse::RecDescent Person::new --> Person foo --> (Whatever is current)
Look in stash for package, locate key foo
Value is a glob. Extract SCALAR part of glob.
Result is a pointer to an SV
The SV is the value. (NULL pointer == undef)
|Next||Copyright © 2003 M. J. Dominus|