>>>>> On Wed, 17 Mar 2010 19:24:08 -0400, David Golden <xda...@gmail.com> said:

  > On Wed, Mar 17, 2010 at 6:15 PM, Nigel Horne <n...@bandsman.co.uk> wrote:
 >> Folks,
 >> 
 >> Metabase::Facts requires Time::Piece which I can't get to build on Darwin:

  > I don't have Darwin to test with, so anyone who can help diagnose
  > this, I'd appreciate your help.

  > Time::Piece is core in 5.10 so I'm surprised that it has trouble
  > building on older Perls.

That was 1.12. Yesterday 1.20 was released. Nigel, try 1.19 if 1.20
doesn't work. According to
http://matrix.cpantesters.org/?dist=Time-Piece%201.19 it seems to work
on Darwin. Both versions work for me on my dated Darwin.

  > If someone can suggest a lightweight alternative to generate ISO 8601
  > timestamps, that works too.  I'm not adverse to putting it inline
  > using regular list form of gmtime if someone wants to volunteer some
  > code.  (Time::Piece was a handy shortcut.)

Maybe something like

  use POSIX qw(strftime);
  print strftime "%FT%TZ", gmtime;

is good enough?

-- 
andreas

Reply via email to