> Either one or both of: > Perl <-> Perl cross system will break. > Perl <-> other program same system will break. > > Pick your poison. I'd rather have cross system break. But if the > epoch were available then an adjustment could be made intellegently. I'd take choice (b). I want to be able to write the exact same Perl code and have it deployed on multiple platforms. There's no reason we couldn't introduce a systime() function that returned the true system time. Then time() would always return UNIX epoch time. This seems way more consistent than having time return different values, making you rewrite your code or put ugly OS checks in your code. So, 1. Make all the time/date functions consistent cross-platform 2. Add a systime() for those situations where you really need that specific system's epoch time -Nate
- Re: RFC 99 (v2) Standardize ALL Perl platforms on UNIX... Chaim Frenkel
- Re: RFC 99 (v2) Standardize ALL Perl platforms on... Buddha Buck
- Re: RFC 99 (v2) Standardize ALL Perl platform... Tim Jenness
- Re: RFC 99 (v2) Standardize ALL Perl platform... Russ Allbery
- Re: RFC 99 (v2) Standardize ALL Perl plat... Chaim Frenkel
- Re: RFC 99 (v2) Standardize ALL Perl platform... Chaim Frenkel
- Re: RFC 99 (v2) Standardize ALL Perl plat... Buddha Buck
- Re: RFC 99 (v2) Standardize ALL Perl ... Chaim Frenkel
- Re: RFC 99 (v2) Standardize ALL ... Buddha Buck
- Re: RFC 99 (v2) Standardize ... Chaim Frenkel
- Re: RFC 99 (v2) Standardize ... Nathan Wiger
- Re: RFC 99 (v2) Standardize ALL ... Philip Newton
- Re: RFC 99 (v2) Standardize ALL Perl platforms on... Nathan Torkington
- Re: RFC 99 (v2) Standardize ALL Perl platform... Ted Ashton
- Re: RFC 99 (v2) Standardize ALL Perl plat... Jonathan Scott Duff
- Re: RFC 99 (v2) Standardize ALL Perl ... Stephen P. Potter
- Re: RFC 99 (v2) Standardize ALL ... Jarkko Hietaniemi
- Re: RFC 99 (v2) Standardize ALL Perl plat... Nathan Torkington
- Re: RFC 99 (v2) Standardize ALL Perl platform... Chaim Frenkel
- Re: RFC 99 (v2) Standardize ALL Perl plat... Jonathan Scott Duff