in reply to perl: restrict perl from automaticaly creating a hash branches on check
The behavior that you're complaining about is called autovivification. See How can I check if a key exists in a multilevel hash? from perlfaq4 for some tips on accomplishing what you want to do.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl: restrict perl from automaticaly creating a hash branches on check
by alex5161 (Novice) on Nov 06, 2014 at 17:41 UTC |