palkia has asked for the wisdom of the Perl Monks concerning the following question:
By substituting for $testedNVal = 0 + $this->{N}[$1]{Val};, I could determine the print only occurs when $this->{N}[$1]{Val} is undef (by 'num + undef' warning).if($cond->{Par} =~ /^K(\d+)/) { my $qqq = scalar(@{$this->{N}}); $testedNVal = $this->{N}[$1]{Val}; # freak line unless($qqq == scalar(@{$this->{N}})) {print 'how is this possible ?';<>;} }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can an element be created because it was accessed ? ( || {} )
by tye (Sage) on Dec 29, 2011 at 09:07 UTC | |
|
Re: Can an element be created because it was accessed ?
by NetWallah (Canon) on Dec 29, 2011 at 01:37 UTC | |
by ikegami (Patriarch) on Dec 29, 2011 at 02:10 UTC | |
by NetWallah (Canon) on Dec 29, 2011 at 03:46 UTC | |
by ikegami (Patriarch) on Dec 29, 2011 at 04:33 UTC | |
|
Re: Can an element be created because it was accessed ?
by ikegami (Patriarch) on Dec 29, 2011 at 02:16 UTC |