Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Error when creating a new instance of XML::Writer

by bitingduck (Chaplain)
on Nov 09, 2012 at 06:57 UTC ( #1003074=note: print w/replies, xml ) Need Help??

in reply to Error when creating a new instance of XML::Writer

What version of Perl are you using and on what system? I had a similar problem with a different module on a particular install of 5.10.1 (a mac running Snow Leopard, and the 5.10.1 that was part of the dev tools). Other installs of 5.10.1 didn't show the problem, nor did later versions of Perl. I never did sort out exactly why it happened. You should try running the test script that fishmonger gave you, and if that fails, try running it on some other installs.
  • Comment on Re: Error when creating a new instance of XML::Writer

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003074]
[1nickt]: But should handle month as number or word
[TCLion]: I am breaking down the line and putting the date in the correct order during output
[TCLion]: at least that's the plan
[1nickt]: Corion this looks good, from the pod: "there are 9000+ variations that are detected correctly in the test files (see t/data/* for most of them). If you can think of any that I do not cover, please let me know."
[TCLion]: some moron put the date like this : Mon Feb 20 09:31:30 2017
[Corion]: 1nickt: Yes, the module sounds promising indeed
[1nickt]: "putting the date in correct order" how?
[Corion]: TCLion: Whee ;)
[TCLion]: need to put like this : 2017-02-20 09:30:53
[1nickt]: That's why I asked if you are using DateTime. It has a large number of supporting modules (the author likes the term 'eco-system') so if you are already creating a DateTime obj from your dates, this module would read in the mnoron-formatted 1s seamlessly

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (14)
As of 2017-03-23 14:53 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (288 votes). Check out past polls.