perl - How to understand local data type with respect to C++ data types? -


I could never clearly understand the use of local in Perl, except that the local defined within the stack Also other existing will be different from my existing version, variables and local variables will also be visible within other sub-routines.

to:

a local Simply temporarily assigns the global (i.e. the package) variable to the variable, it does not make a local variable, it is known as dynamic scoping with lexical scraping me , which is the auto declaration of C Works more like that

Comments