in reply to Re^2: MCE seemingly stray array in sample code for Strassen's algorithm
in thread MCE seemingly stray array in sample code for Strassen's algorithm
The correct terminology is "lexical scope".
From "perldoc -f my" :
.... local (lexically) to the enclosing block, file, or "eval".
In this case, the subroutine is accessing a variable declared in an enclosing block.
I suppose this could be considered "global to the subroutine".
"I'm fairly sure if they took porn off the Internet, there'd only be one website left, and it'd be called 'Bring Back the Porn!'"
-- Dr. Cox, Scrubs
|
|---|