Subject: | Minor code errors in example |
Date: | Sun, 24 May 2020 15:44:53 -0700 |
To: | bug-Religion-Islam-PrayTime [...] rt.cpan.org |
From: | Daniel Drennan ElAwar <drennan [...] panix.com> |
Using strict and warnings reveals that this line:
@times = $prayTime->getDatePrayerTimes($year, $month, $day, $latitude, $longitude, $timeZone);
should read:
@times = $prayTime->getDatePrayerTimes($year, $mon, $mday, $latitude, $longitude, $timeZone);
Similarly, this line:
%times = $prayTime->getDatePrayerTimesHash($year, $month, $day, $latitude, $longitude, $timeZone);
should read:
%times = $prayTime->getDatePrayerTimesHash($year, $mon, $mday, $latitude, $longitude, $timeZone);
as-salamu 3alaykum, peace and blessing for the Eid and always!
Daniel