Thank you, you were right that the problem is here; interestingly it seems to be that File::Find enumerates the directories but then doesn't recurse into them. Whereas on the command line it does. Thus the files at the top level end up in the zip file, but anything below it doesn't.

This is all happening in a temp dir, so it can't be a permissions things as the files in the temp directory are being created (successfully) by the same process as creates the temp directory; indeed I see the user running Dancer (me) has full control over the temp dir, the top level files and the subdirs and the files in them as I would expect; identical permissions throughout. This is all on Windows.

So why is File::Find not recursing in?


In reply to Re^2: Incomplete file write under Dancer2 by realflash
in thread Incomplete file write under Dancer2 by realflash

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.