in reply to Should I use Fields, InsideOuts, or Properties?
$hashref->{typo}
do this:
use constant TYPO => 'typo'; $hashref->{(TYPO)}; # OK $hashref->{(TIPO)}; # Compile-time error, just what you want
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Should I use Fields, InsideOuts, or Properties?
by djp (Hermit) on Jul 08, 2005 at 04:00 UTC | |
by dmitri (Priest) on Jul 08, 2005 at 13:18 UTC |