Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^3: Packing struct timeval

by Anonymous Monk
on Nov 25, 2012 at 10:49 UTC ( #1005475=note: print w/replies, xml ) Need Help??

in reply to Re^2: Packing struct timeval
in thread Packing struct timeval

I tried to make a quick example with it and failed.

I kinda knew it would -- reinventing a compiler is hard -- it much simpler to compile a c program to dump the structure of struct, kinda sorta the trick C::DynaLib::Struct/hparse employs

I suppose you could always "fingerprint an os" and build a database of time formats ... pure-perl is pure insanity if you ask me, much less work to install a compiler :)

Replies are listed 'Best First'.
Re^4: Packing struct timeval
by zwon (Abbot) on Nov 25, 2012 at 14:29 UTC

    I wish I knew how many people use PP version of my module, if any ;) For the moment I will probably just special case NetBSD 6 and postpone more cardinal solution till other OSes will follow with 64-bit time_t

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1005475]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2018-05-26 20:14 GMT
Find Nodes?
    Voting Booth?