"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.


In reply to Re: Complete novice in need of guidance by stevieb
in thread Complete novice in need of guidance by SerpSomal

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.