Strawberry Perl. CPAN/cpanm works.

What will you do? fullscreen in your VM?

* Editors

Notepad++ (free) or sublime (commercial, but worth it) If you need VI, use winvi it can even hexedit.

All three can detect DOS/UNIX linebreaks and handle them.

* Figure out Versions

I use Meld or Windiff to see diffs. Use tortoisesvn for version control.

* Virtualbox

Using Virtualbox? You can share your development directory, and run code both in Unix as Windows (for cross testing). This way you can also use editors on the Linux side.

If using Virtualbox, consider adding an extra virtual network adapter in BRIDGED modus, so you can always access the box.

If you like, develop on Linux, then when you need to run it in windows, touch a file which will be checked by a PowerShell script, and run your Perl, or restart a service... and thus receive the output back in Linux...

* The typical Windows Caveats

Do not use backticks, use libraries to do things. Lots of libraries will not works nicely (depending on what you need to do).

* Windows version

As for the windows version: Develop where you want it to run. All basic perly stuff will work from Windows XP and up (if you do not need much integration, like working around the windows security model because you run as Administrator... XP is pretty light), however, some stuff like WMI has changed over the years, and you will need maybe even a Windows Server edition to work on. (sometimes, even patches matter)


In reply to Re: [OT] Windows VMs under Linux for running Perl. by FreeBeerReekingMonk
in thread [OT] Windows VMs under Linux for running Perl. by BrowserUk

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.