in reply to Re^3: Scoping question
in thread Scoping question
Note that you don't need to have if (1). A block is fine all by itself, and does enforce a new scope. A bare block is a loop construct though while an if block isn't, which is important to remember when you use e.g. last.
ihb
See perltoc if you don't know which perldoc to read!
Read argumentation in its context!
|
|---|