in reply to Named array indices
IMHO the namespaces of constants and subs collide.
Do you use many ALL_UPPER subnames in your code?
Alternatively, just use a prefix: use constant C_NAME => 0;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Named array indices
by LanX (Saint) on Aug 05, 2010 at 17:46 UTC | |
by BrowserUk (Patriarch) on Aug 05, 2010 at 17:58 UTC | |
by LanX (Saint) on Aug 05, 2010 at 18:03 UTC | |
by BrowserUk (Patriarch) on Aug 05, 2010 at 18:28 UTC |