in reply to Re: Basic programming question
in thread Basic programming question
I find this to be easier to explain:($hour %= 12) ||= 12;
$hour = ($hour + 11) % 12 + 1;
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In Section
Seekers of Perl Wisdom