Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Make $^V and "my" implicit

by gunzip (Pilgrim)
on Feb 03, 2014 at 17:54 UTC ( [id://1073242] : note . print w/replies, xml ) Need Help??


in reply to Re: Make $^V and "my" implicit
in thread Make $^V and "my" implicit

See my reply to Corion above. I'm not against what "my" stands for. Just reserve its use for cases where it really makes a difference, ie. same variable name and type ($@% etc.) used in different scopes. Forget it for anything else.

Replies are listed 'Best First'.
Re^3: Make $^V and "my" implicit
by ikegami (Patriarch) on Feb 05, 2014 at 18:16 UTC

    That doesn't address what I said at all. If declaring variables isn't always required, typos in variable names can't be found. This would be a major loss. As such, declaring variables is always required, always makes a difference.