in reply to Re^3: Global variable vs passing variable from sub to sub
in thread Global variable vs passing variable from sub to sub
And then all you provide are arguments like
The effort it takes to properly scope variables, which often requires a different code structure, outweighs the problems I've encountered using globals.
with no explanation whatsoever about what you find so difficult about scoping variables.
I'll summarize everyone else's arguments into a form which contains the same amount of "substance" (You keep using that word... I do not think it means what you think it means--Inigo Montoya) as your posts: Scoping variables takes no additional effort and it eliminates one potential source of bugs.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |