From: "Luca Ferrari" <fluca1...@infinito.it>


On Thu, May 9, 2013 at 6:22 PM, Brandon McCaig <bamcc...@gmail.com> wrote:
It's a good trait for programmers to avoid waste, but not if it
comes at the expense of reliability, security, or robustness.
Using my() and our() takes very little effort and is well worth
the investment.


Thanks for the explanation, but just for the sake of calrity, I was
not asking this because of laziness, but because I believe that it is
more error prone to rely on developers to use the right scoping (my,
our, local) instead of automatically-proposing the "most-used" one.

Luca



In that case it is not problem at all. Always use "my".

"our", "local" and "state" are much less used and if you need them, you also know when you should use them.

Octavian


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to