in reply to [OT] Windows VMs under Linux for running Perl.

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)

  • Comment on Re: [OT] Windows VMs under Linux for running Perl.

Replies are listed 'Best First'.
Re^2: [OT] Windows VMs under Linux for running Perl.
by BrowserUk (Patriarch) on Dec 18, 2016 at 07:18 UTC

    Thanks, but you've missed my purpose somewhat. I'm comfortable with my Windows setup. What I'm looking for is how to put that setup in a Linux hosted VM such that when I'm using it interactively, I can for the most part ignore that it isn't natively hosted.

    I'm looking for what combination(s) of Linux and VM software is most likely to be transparent to me when I'm using the Window's VM.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
    In the absence of evidence, opinion is indistinguishable from prejudice.