in reply to Alternative to POSIX::strptime

Not quite an answer to your question, but still related...

I've uploaded a patch (rt://46888) which allows the module to compile on Solaris; this may improve compilation success on other platforms. The tests will probably fail because the module seems to have been written based on the Linux behavior.

I've discovered significant differences in how strptime behaves under OS X, Linux, and Solaris (see rt://46889 for comments on Solaris), not just in terms of whether the initial structure is initialized, but also in which fields are determined from the input string. There seems to be enough variation in how strptime is implemented that in my opinion it's not very useful in cross-platform code.