Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2018-01-21 02:00 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (227 votes). Check out past polls.