more useful options | |
PerlMonks |
Re^3: Use of uninitialized valueby chromatic (Archbishop) |
on Nov 23, 2010 at 19:19 UTC ( [id://873275]=note: print w/replies, xml ) | Need Help?? |
Here both $numerator and $denominator contain undef.
If that branch is true, $numerator will contain the value of $last_element, which may be undef. $denominator will still contain undef.
If that branch is true (and it will only be true if the first branch is false, in which case $numerator will still contain undef), $denominator will contain the value of $last_element, which may be undef.
If this branch is true, both $numerator and $denominator contain undef. At this point, at least one of those two variables does contain undef. Both may.
In Section
Seekers of Perl Wisdom
|
|