Because perl returns results positionally, not by name
The method phase() returns a lot of results, the first being the Moon Phase, the second the Illumination. You stored the first return parameter, which holds the Moon Phase, into the variable $MoonIllum
In reply to Re^2: Astro::MoonPhase Issue
by jethro
in thread Astro::MoonPhase Issue
by perl_n00b
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |