develooper Front page | perl.perl6.language | Postings from March 2005

Symbol table lookup and hash

Thread Next
Gaal Yahas
March 17, 2005 00:34
Symbol table lookup and hash
Message ID:
I'm looking to understand symbol tables and the symtable hash better.

What's the motivation for ::() syntax? Is it mainly for binding aliases?
How would $::("MY::bar") behave when my $bar has not been declared?
(Similarly, what happens with an undeclared $::("Foo::bar") ?)

If I do the analogous thing with the symbol table hash, (how) is the
behavior any different? What can you express with ::() but not with the
symtable hash?

Gaal Yahas <>

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About