Hi, Gisle Aas: > Perl doesn't add references to names. It imports direct reference as > well. What I meant to say was: Perl shares the actual symbol table slot when you import something; so a later reassignment to the variable in question will affect every module. Python doesn't have that additional indirection. > In Perl this works because we at import time know if we are importing > a variable (and what kind) or a function, and later assignments to > variables or redefinitions of functions mutate the object in-place. > ... which is essentially a different way to state the same thing. ;-) -- Matthias Urlichs | noris network AG | http://smurf.noris.de/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4