in reply to Re^5: Local for lexicals
in thread Local for lexicals
under strict you would be forced to predeclare your variables with "our" (or "my")Not really. 'strict' just forces you to be explicite. Introducing a variable with our or my is one way. Using a fully qualified name is another. And for variables living in main, $::var is enough for satisfy strict.
|
|---|