Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Alternative to POSIX::strptime

by djerius (Beadle)
on Jun 17, 2009 at 18:13 UTC ( #772503=note: print w/ replies, xml ) Need Help??

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.

Comment on Re: Alternative to POSIX::strptime

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://772503]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2015-10-07 10:59 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (179 votes), past polls