jeremym has asked for the wisdom of the Perl Monks concerning the following question:
use strict; use warnings; my $array_ref = [undef]; if ($array_ref-> [0]->{whatever}){ print "true"; } else { print "false"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Why nothing from 'strict' or 'warnings' with deref'd undef value?
by ikegami (Patriarch) on Apr 02, 2009 at 22:09 UTC | |
by jeremym (Initiate) on Apr 02, 2009 at 23:45 UTC | |
by ikegami (Patriarch) on Apr 03, 2009 at 02:03 UTC | |
by jeremym (Initiate) on Apr 03, 2009 at 16:50 UTC | |
|
Re: Why nothing from 'strict' or 'warnings' with deref'd undef value?
by ig (Vicar) on Apr 02, 2009 at 22:09 UTC | |
|
Re: Why nothing from 'strict' or 'warnings' with deref'd undef value?
by jethro (Monsignor) on Apr 02, 2009 at 22:11 UTC | |
|
Re: Why nothing from 'strict' or 'warnings' with deref'd undef value?
by ELISHEVA (Prior) on Apr 03, 2009 at 03:46 UTC |