Bob Showalter wrote:
>    ($year + 1900) % 100

Actually just

   $year % 100

is valid. The former makes it clearer what you're doing, if you're into that
:~)

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to