I once write a large, complicated shell/awk/isql program, of about 2500 lines. I developed it on Solaris, but it had to run under Windows NT, and HP-UX as well. We had a Unix toolkit running on Windows, and the entire scripted needed a single change to run under Windows: the location of the tmp directory. Getting it to run under HP-UX required more changes, most of them due to different switches of tools like grep.

So, my limited experience says that if you have a good Unix toolkit, porting shouldn't be much of a problem. Read perlport, and remember that the main difference between Perl under Unix and Perl under Windows is that the latter doesn't support everything the former does. Although you might increase your changes if you compile Perl on Windows using Unix emulation libraries.

Abigail


In reply to Re: "Porting" scripts to Win32 by Abigail-II
in thread "Porting" scripts to Win32 by b10m

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.