Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: local our $var; What does it do?by BrowserUk (Patriarch) |
on Jun 18, 2015 at 09:20 UTC ( [id://1130952]=note: print w/replies, xml ) | Need Help?? |
It's equivalent to:
The first line makes the global $var name visible at the current scope with use strict vars. The second line localises it in the normal way. Presumably aimed at simplifying aliasing. As in:
Which is nicer than:
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
I'm with torvalds on this
In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked
In Section
Seekers of Perl Wisdom
|
|