in reply to Dancer and Excel::Writer::XLSX incompatibility!

Double in size? Sounds like UTF-8. Try setting binmode to ':raw' also.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
  • Comment on Re: Dancer and Excel::Writer::XLSX incompatibility!

Replies are listed 'Best First'.
Re^2: Dancer and Excel::Writer::XLSX incompatibility!
by Skeeve (Parson) on Jan 28, 2014 at 16:36 UTC

    I'm already trying to find out, where to set that :( It's not on my $fh, it must be somewhere for the standard file used by Dancer for sending stuff.

    You are my HERO!

    I couldn't believe it but tried it nonetheless and the download worked.

    I owe you a beer!

    As stated above: I made a mistake in my test and forgot to reactivate the "\$buffer" in the send_file and so I still sent a file from the filesystem.


    s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
    +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e

      It would be nice if you would reply and show exactly how you fixed the code. Perhaps save the next person from "trying to find out". Thanks!

      - tye        

        ++ -> good idea.

        inserted comments and solution in my code


        s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
        +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e