in reply to MacPerl Replacement for a non-programmer?

First, thanks to all for the prompt responses :)

BrowserUk: Got it! So far so good.

perl-diddler: From a first glance, cygwin looks like it veers into that programming-configuring territory that I'm bad at.

stevieb: Thanks. IIRC MacOS up to 8.6(ish) was its own Apple-proprietary thing, then OSX (MacOS 10) was the first full-Unix based one, with OS9.(x) being the transition phase.

--

Just one little follow-up question (though I suspect the answer will be beyond my copy-paste-cargo-cult programming skills...): The program plain text output goes to a DOS box, where I can right-click to select all and copy out all of the text. Is there a *dirt-simple* way to change the basic 'print' command where it directs the text output to a Windows-style window that I can mouse-highlight small portions of it to be copied out?

  • Comment on Re: MacPerl Replacement for a non-programmer?

Replies are listed 'Best First'.
Re^2: MacPerl Replacement for a non-programmer?
by Your Mother (Archbishop) on Sep 14, 2016 at 03:42 UTC
Re^2: MacPerl Replacement for a non-programmer?
by Cow1337killr (Monk) on Sep 14, 2016 at 01:45 UTC

    Get Notepad++.

    Copy all the Perl output to a new Notepad++ file and edit it.

Re^2: MacPerl Replacement for a non-programmer?
by stevieb (Canon) on Sep 14, 2016 at 02:12 UTC

    If enough interest is shown, I will consider getting an msi installer written by friends who know about those things to make berrybrew available with a one-click install that fetches, configures, installs the most recent Perl version, switches to it, then leaves the user with a Perl that can be used immediately.

    As of now, I couldn't recommend it, because it does take config, and after re-reviewing the docs, things aren't all that clear for setup. It would be a nice feature though, me thinks. For now, for ease of integration, I'm with BrowserUK.

Re^2: MacPerl Replacement for a non-programmer?
by Marshall (Canon) on Sep 14, 2016 at 21:28 UTC
    "I can mouse-highlight small portions of it to be copied out?"

    First, the command window is not DOS although a lot of ancient DOS commands do work within this window.

    To copy and paste things to/from the command window:
    - open a command window
    - Right click on the title bar
    - Under Options select "QuickEditMode" and "InsertMode".
    - click "Ok"
    - apply changes to all shortcuts that start command window when asked (not just this one)
    -To copy text from command window, hold left mouse button and drag over text to highlight it, then tap right mouse button to copy to the "clipboard". Now you can use CRL-V to paste or use mouse menu to do the same in another application. To copy something into the command window, like perhaps a command, get it into the clipboard. Move mouse to the command window and tap the right mouse button to do the insert.

    There are various options to increase the buffer size (history) of the command window. Play with that if needed.

    To re-execute a previous command (perhaps with some editing), use the "up arrow" to bring last command typed back to the entry line.

    Tested on WinXP, but Win7 should work the same.

    Update: You have to use the mouse left/right click as I described above. The normal CTL-C (copy) and CTL-V (paste) command shortcuts don't work as Windows Command Window thinks that you are tying that stuff in as an actual command. So copy and paste to/from the command window is a bit different than from a typical editor window (textpad, Windword, wordpad, etc).