Re: [DBD::Pg] Make Time::HiRes a prerequisite, as the async test uses it. Per bug 72584
"Greg Sabino Mullane" <greg-738XdyZ4GzZWk0Htik3J/[email protected]> Thu, 24 Nov 2011 04:08:15 -0000
| Newsgroups | gmane.comp.db.postgresql.dbdpg |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 David E. Wheeler asks: >> Make Time::HiRes a prerequisite, as the async test uses it. Per bug 72584 > > Seems a tad unnecessary. Any way to test without Time::HiRes? Yes, but it would make the tests much longer, as the builtin sleep is a lot less reliable so we can't do a sleep(1). Normally, I would not think of making something this trivial in functionality a prerequisite, but Time::HiRes is a very, very standard module at this point, so I thought it worth the effort. > Which reminds me: we have a dependency on version.pm? Whatever for? So we can use versions such as '2.18.1'. You know, like other projects do, such as Postgres, git, and Perl. Yeah, yeah, I know all about the workarounds, shortcomings, and debates regarding versioning in Perl. Discussion could make our Unicode thread look tame in comparison. :) Using version.pm is an easy way out of the mess. I'm open to arguments for not using it, but you better bring strong ones. - -- Greg Sabino Mullane greg-738XdyZ4GzZWk0Htik3J/[email protected] PGP Key: 0x14964AC8 201111232306 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -----BEGIN PGP SIGNATURE----- iEYEAREDAAYFAk7Nwx8ACgkQvJuQZxSWSshSMgCfTaAeWqsAHNiO7vLxIq24zr9B mhcAoIlvpWTP1AyGh2XvjZfxbwlaUpVJ =Krch -----END PGP SIGNATURE-----