in reply to Complete novice in need of guidance

"understanding what a compiler/text editor/perlbrew all are and how they work together"

Compiler:

A piece of software that takes the code of a high(er) level programming language, and transforms it through various means to machine code (ie. typically assembly (see machine code)), which the CPU understands.

Text Editor:

A piece of software that allows you to type text into. Common ones for Unix(y) platforms include vi/vim, emacs (both of those stated have a significant learning curve to them), nano, an easy one to use. There are also a slew of them for the Unix user interface. On Windows, a text editor would be notepad.exe. Some consider Microsoft Word a text editor, but I don't; it adds a whole slew of things into your document without you realizing it, so it doesn't turn out to be text-only. Don't use this (or Wordpad) for writing Perl (or code in any language). Notepad++ is probably one I'd pick to use on Windows if vim wasn't available.

perlbrew:

A piece of software App::perlbrew (berrybrew for Windows) that allows you to install and manage several versions of the Perl programming language on your system, without interfering with a system-installed perl, if available.

It allows you to do things on specific instances of Perl, and if needed, blow away the instance and re-install it with no side effects. Although there are many features I'm not explaining, it allows you to install versions of Perl in your own user home directory, so it doesn't affect anything other users may decide to do.

Summary:

You write your code in a text editor (eg: script.pl has all of your Perl code), and then have perl execute it (eg: perl script.pl). Perl (or rather perl (the lower-case form is the name of the interpreter itself)), then interprets the code in the script file you wrote with the text editor, and then *compiles* it into machine-ready code behind the scenes. It then passes it off to the CPU, which processes your instructions.

Replies are listed 'Best First'.
Re^2: Complete novice in need of guidance
by SerpSomal (Novice) on Oct 03, 2016 at 10:50 UTC

    Thanks for taking the time to explain these terms. I found it really helpful

Re^2: Complete novice in need of guidance
by Anonymous Monk on Oct 03, 2016 at 07:24 UTC

    perlbrew: ... berybrew ...

    :)

    To all beginners, you don't need these extras, they're just extras to save a few keyboard strikes ... for a very very small amount of perl developers ( less than %1 )

      "To all beginners, you don't need these extras, they're just extras to save a few keyboard strikes ... for a very very small amount of perl developers ( less than %1 )"

      I'd like to know where you got your 1% statistic from :) I believe they do far, far more than just save a few "keyboard strikes"... they help prevent you from hosing your system's Perl, and in some cases, your system itself.

      I know more people who use perlbrew than I know that don't...

        I tend to agree. It's unnecessarily difficult to set up perl so you can install modules in a sane manner. That said, you don't really need any 'brews until you're ready to start installing modules.