digirent has asked for the wisdom of the Perl Monks concerning the following question:
What I would like during the debugging phase is that the program dies or has an error trap when the "typo_hashkey" does not exist.for instance: if($record->{typo_hashkey} eq "value") { .. actions } else { ... other actions }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: errortrapping/debugging typos when using undefined Hash keys
by roboticus (Chancellor) on Feb 24, 2011 at 11:01 UTC | |
|
Re: errortrapping/debugging typos when using undefined Hash keys
by moritz (Cardinal) on Feb 24, 2011 at 10:55 UTC | |
by digirent (Initiate) on Feb 24, 2011 at 11:07 UTC | |
|
Re: errortrapping/debugging typos when using undefined Hash keys
by jwkrahn (Abbot) on Feb 24, 2011 at 10:45 UTC | |
| |
|
Re: errortrapping/debugging typos when using undefined Hash keys
by BrowserUk (Patriarch) on Feb 24, 2011 at 11:13 UTC |