local = dynamic scoping:
local my be used to limit the scope of a variable to a specific subroutine and all subroutines called from it.
my = lexical scoping:
my defines a scope that is limited to a specific subroutine, excluding those called from within it.
In reply to Re: Interview Prepration
by chris7cmcc
in thread Interview Prepration
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |