in reply to Re^2: Undesirable parent hash keys (concept?)
in thread Undesirable parent hash keys
It is probably more safe to do a no autovivification 'exists'; as this turns off autovivification for dereferencing expressions that are parts of an exists only, such as :
and then make sure you change your tests to include the exists function.exists $arrayref->[1][2][$idx] exists $hashref->{this}{that}{$key};
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
My blog: Imperial Deltronics
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Undesirable parent hash keys (concept?)
by tobyink (Canon) on Jan 11, 2013 at 10:34 UTC |