1. That's less a matter of being digestible by Perl; all Perl constructs except a number of functions geared towards Unix specifics work everywhere. See perlport.
  2. Windows doesn't use the shebang line at all, although perl examines it after launch. You may run into with issues with "too late for -T".
  3. I would suggest you deliver two versions, at least for Windows users: an unbundled one and one built with PAR. The download page should suggest them to get the PAR'd one unless they know why they'd want the other. I don't see a need to write module fetching tutorials for the unbundled package then. Consider wrapping the Windows PAR version in an InstallShield-ish installer - I quite liked the NullSoft installer creator, myself. Due to XS modules, a PAR'd version for people on *nixoid systems would be difficult to offer; you'll need to account for a lot of systems.
  4. I'm not sure what that question means. The quoting mechanisms are very different, at any rate. I'm not sure the MS shells even offer sufficiently powerful escaping mechanisms to deal with arbitrary data. sh type shells do - clumsy ones, but they don't impose restrictions.
  5. I don't think there's anything specific about those. You will have to look into binmode though. (This is a no-op on *nixoid systems, so you don't need to maintain two different versions.) In other notes, remember that MS systems don't pay attention to capitalization in filenames.

Makeshifts last the longest.


In reply to Re: Delivering "portable" code between POSIX and Windows by Aristotle
in thread Delivering "portable" code between POSIX and Windows by hacker

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.