Hello
I try to install Dancer::Session::Cookie
(Centos 6.4,  Dancer 1.3116, perl v5.10.1 )
and I've got a error


cpanm Dancer::Session::Cookie
--> Working on Dancer::Session::Cookie
Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Dancer-Session-Cookie-0.22.tar.gz ... OK
Configuring Dancer-Session-Cookie-0.22 ... OK
Building and testing Dancer-Session-Cookie-0.22 ... FAIL

if I see end of /root/.cpanm/build.log,  there a error with autoflush method  from FileHandle

cpanm FileHandle
FileHandle is up to date. (2.02)

someone has a idea ?



t/00-report-prereqs.t ........ ok
t/01-session.t ............... ok
Can't locate object method "autoflush" via package "FileHandle" at /usr/local/share/perl5/Dancer/Logger/File.pm line 59.
# Looks like you planned 3 tests but ran 2.
# Looks like your test exited with 25 just after 2.
t/02-configfile.t ............
Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 1/3 subtests
t/03-path.t .................. ok
t/04-session_name.t .......... ok
t/05-session_secure.t ........ ok
>> Dancer 1.3116 server 29694 listening on http://0.0.0.0:50940
t/06-redirect.t .............. ok
>> Dancer 1.3116 server 29696 listening on http://0.0.0.0:50657
t/redirect-session-dancer.t .. ok
>> Dancer 1.3116 server 29698 listening on http://0.0.0.0:50336
>> Dancer 1.3116 server 29699 listening on http://0.0.0.0:50807
>> Dancer 1.3116 server 29700 listening on http://0.0.0.0:50244
>> Dancer 1.3116 server 29701 listening on http://0.0.0.0:50603
t/server.t ................... ok
>> Dancer 1.3116 server 29703 listening on http://0.0.0.0:50585
t/session-stealing.t ......... ok

Test Summary Report
-------------------

t/02-configfile.t          (Wstat: 6400 Tests: 2 Failed: 0)
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 3 tests but ran 2.
Files=11, Tests=33,  3 wallclock secs ( 0.03 usr  0.04 sys +  2.32 cusr  0.41 csys =  2.80 CPU)
Result: FAIL
Failed 1/11 test programs. 0/33 subtests failed.
make: *** [test_dynamic] Erreur 255
-> FAIL Installing Dancer::Session::Cookie failed. See /root/.cpanm/build.log for details
-------------------
t/02-configfile.t          (Wstat: 6400 Tests: 2 Failed: 0)