Oh, I think I see the conceptual problem. Some languages like BASIC and Python provide two environments. One where you type a line of code in and then that line of code runs immediately and the result is displayed right away. The other environment is where you type in the program using a text editor and then run the complete program all at once. That is the way that your Perl developmemt will work.

I do most of my work on Windows, so I am not the best for advice on Unix. However, I know from when I used to have a Sun workstation, that something similar to what I do on Windows is possible on Unix. I'll describe what I do so you can see what the goal is.

I use Textpad as my program editor for Perl development on Windows. I think Notepad++ has similar features. I have a single "Perl go button" that saves all open files, runs the Perl program in the active editor window and captures STDOUT and STDERR to another editor screen. I've written a lot of code with this simple arrangement.

Many editors, mine included have fancy features that do syntax highlighting, etc. I turned all that stuff off because I find it annoying. However since the editor is designed to write software, it knows about indenting and that is very useful. If the current line has an indent of say, 4, a carriage return brings the cursor back to that same indent level on the next line.

There are things called "Integrated Development Environments" or IDE. I don't use one for Perl, but I do for Java. That's because Java is so verbose that I need a program to help me spew out all of the required boilerplate! Perl is very much more "to the point".

Anyway, I suggest one goal for a simple environment is to make the cycle: "edit, run program, look at output" very easy and fast. You can go a long ways with that. I can't remember the last time I used the Perl Debugger. It is so easy for me to add a "print" statement using Data::Dumper that I just don't need it often. I just hit one "F key" and poof! I am looking at the program's output.


In reply to Re^4: Linux Mint by Marshall
in thread Linux Mint by ichinyo

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.