> > Hello, > > > > I have a problem which I think is mod_perl specific - please correct me > > if I'm wrong. > > > > In a code I do: > > use DateTime; > > use DateTime::Format::Pg; > > I had trouble getting DateTime::Format::Pg working a long time ago, > so I gave up and just made sure that PostgreSQL was defaulted to ISO > date format (everything should be these days anyway), which I hope > will provide a temporary work-around until you can get the Pg module > working properly as DateTime.pm seems to handle YYYY-MM-DD without > any trouble at all -- it depends on what you need it for though.
I meant to add that I eventually resolved this problem by migrating my code from an MS-Windows environment to Unix (NetBSD). Since then, the DateTime::Format::Pg module has been working flawlessly. [End of reply.] > > and get this error: > > DateTime does not define $DateTime::VERSION--version check failed at > > /opt/perl/lib/site_perl/5.16.1/DateTime/Format/Pg.pm line 7. > > > > This is perl 5.16.1, DateTIme 0.77, DateTime::Format::Pg 0.16007 - > > all the latest. > > > > Weird thing I get this error only under mod_perl and moreover not anytime. > > > > Any idea what's going on or how to debug it? > > > > > > Thank you > > > > -- > > Jirí Pavlovský > > > > > Randolf Richardson - rand...@inter-corporate.com > Inter-Corporate Computer & Network Services, Inc. > Beautiful British Columbia, Canada > http://www.inter-corporate.com/ > > Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/