Please pardon this humble neophyte, but I am having trouble getting my head around how to set myself up efficiently.
The general language documentation is excellent! I love the elegance of the language and I have managed to write several moderately complex scripts just using VIM.
I have been debugging by running perl at the command line, adding print statements for debugging, rerunning, removing the print statements, etc. This seems unnecessarily slow and tedious, so I'm hoping there might be a better way. (For example Python has Idle--when a program dies, it leaves the environment intact so that you can execute code interactively to get more information without having to edit the original code and reproduce the error.
- Is there an IDE with good code completion for Perl that runs on a modern linux? PADRE looks like the type of thing that would be ideal, but it seems to be abandonware (Ubuntu 10!? Circa 2012). Strawberry Perl also looks good... but I don't do Windows, and it appears to be for Windows only. The "perl debugger" looks very hard to use for a casual user.
Since I don't code on a daily basis syntax completion would be a big help, but I don't have a budget for an expensive commercial product.
- How to install packages so that I don't make a mess of my system. (I develop on Linux Mint.)
- Is there a way to deploy scripts so that they are stand alone (say a single source file, or a single directory? I want to deploy a script or two to my pfSense box without disrupting the system or installing a lot of bloat or something that might impact the integrity of the system.
My searches have lead me to many broken links or very old pages. Any guidance would be much appreciated.
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link
or How to display code and escape characters
are good places to start.