in reply to Re^6: [pack]little endian timestamp to decimal value
in thread [pack]little endian timestamp to decimal value

That's not the code I provided.
  • Comment on Re^7: [pack]little endian timestamp to decimal value

Replies are listed 'Best First'.
Re^8: [pack]little endian timestamp to decimal value
by timtowtdi (Sexton) on Oct 27, 2010 at 18:53 UTC
    I think I'm getting retarded. :S

    You are right. That was not the code.
    I now tried it with this:
    #!/usr/bin/perl -w $le_ts = "B65B7B4000"; print unpack "L<", pack "H*", $le_ts;
    It now runs on all architectures.
    The great mistake is to anticipate the outcome of the engagement; Let nature take it's course, and your tools will strike at the right moment.