Keep It Simple, Stupid | |
PerlMonks |
Re: Candle Timeby Anonymous Monk |
on May 16, 2013 at 14:12 UTC ( [id://1033837]=note: print w/replies, xml ) | Need Help?? |
my $Y = $C . (join "", @bits[ 1,2]); ... $Y-1900, Well, that seems wrong, if $Y is first 3 chars, just get it that way , no need for append/add/subtract.. Also, If your year isn't 4 digits, are you sure your month is off-by-one? I get
In Section
Seekers of Perl Wisdom
|
|