Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
is there any convention to capitalize or uppercase global variables?
PBP doesn't give me a hint there.
In my case those variables are set in an initialisation sub and quasi constant for the rest of the modules, thats why I $UPPERCASED them.
But that's in conflict with perl special vars ...
Any suggestion? Maybe $Capitalize ?
Thanks Kurt
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Naming Convention For Global Variables?
by kcott (Archbishop) on Sep 28, 2012 at 11:29 UTC | |
|
Re: Naming Convention For Global Variables?
by locked_user sundialsvc4 (Abbot) on Sep 28, 2012 at 12:31 UTC | |
|
Re: Naming Convention For Global Variables?
by CountZero (Bishop) on Sep 28, 2012 at 20:42 UTC | |
|
Re: Naming Convention For Global Variables?
by Anonymous Monk on Sep 28, 2012 at 11:03 UTC | |
by LanX (Saint) on Sep 28, 2012 at 11:12 UTC | |
by tobyink (Canon) on Sep 28, 2012 at 12:56 UTC | |
by LanX (Saint) on Sep 28, 2012 at 15:02 UTC | |
by Anonymous Monk on Sep 28, 2012 at 11:24 UTC |