in reply to Re: Why use strict is good, and barewords are bad
in thread Why use strict is good, and barewords are bad
Until a new reserved word is added to the language. I could see dec used as a decrement operation equivilent to $foo = $bar - 1;. Or maybe you have a module that imports an apr() sub into your namespace for calculating Annual Precentage Rates. Or maybe something completely different.
The point is, you can't guarentee that any of those won't take a different meaning at some point in the future, so you should just avoid using them as barewords.
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Why use strict is good, and barewords are bad
by Mabooka-Mabooka (Sexton) on Apr 22, 2005 at 07:15 UTC | |
|
Re^3: Why use strict is good, and barewords are bad
by Anonymous Monk on Apr 22, 2005 at 10:04 UTC | |
by benizi (Hermit) on Apr 22, 2005 at 21:24 UTC | |
by hardburn (Abbot) on Apr 22, 2005 at 21:27 UTC |