NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
ymd? (Score:2)
Re:ymd? (Score:2)
There was something wrong with it; can't remember what. Where "wrong" means "wasn't exactly what we needed." I also needed a constructor from YYMMDD[HH[MM]] timestamps when there was no strptime.
Are you absolutely certain ymd was always there, from the beginning in Time::Object?
Hmmm ... does some searching [mpe.mpg.de] ...
Ah! Oh, yes: ymd gave YYYY/MM/DD in those days, and I really needed no slashes and (for backward compatibility) two digit years. Hmm, still does [cpan.org], but with hyphens now (customizable, presumabl
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Re:ymd? (Score:2)
BTW, I actually named my methods
yymmdd,yymmddhh, etc. I always wanted to go back and doyyyymmdd, etc.J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers