[Catalyst] Catalyst::Helper passes %T to POSIX::strftime - causesinfinite loop under Win32

Peter Edwards peter at dragonstaff.com
Wed Jul 18 09:30:31 GMT 2007


>> 12:32:48PM -0400, bits wrote:
>> Catalyst::Helper::_mk_changes calls POSIX::strftime on line 390:
>>     my $time = strftime('%Y-%m-%d %T', localtime time);
>> 
>> the %T parameter causes my Activestate Perl 5.8.8 820 to infinite loop.  

I'm using AS Perl 5.8.8 817 and POSIX::strftime %T is broken in that.

strftime("%Y-%m-%d %T", localtime time)
gives '2007-07-18 ', empty string in place of %T

strftime("%T", localtime time)
hangs

bits, I suggest you raise a bug with AS.

Regards, Peter
Dragonstaff Limited  http://www.dragonstaff.com  Business IT Consultancy ---






More information about the Catalyst mailing list