Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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 chilling in the Monastery: (9)
As of 2016-02-11 08:02 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (362 votes), past polls