I have begun reading it and practicing the code in there and using a piece of software called Perl Scriping Tool from Downloads.com for perl 5 but none of the code I type character for character and space for space seem to work.
Hmm... do you even have Perl installed? Start with getting ActivePerl
. Next, get a decent editor. (I have the feeling this is what you actually got from download.com
.) As a sysadmin you probably already have a preference — personally I like GTE from GWDsoft
. I hope you can set it so you can run an "external tool", and capture the output (preferably both STDOUT and STDERR) to an output window? Set it up so that it can use as a tool perl to run your script.
Next step: try to run the simplest of scripts, for example the classical "Hello world" program:
#! perl -w
print "Hello, world!\n";
You'd have to try extremely hard to screw this up. Just put it in a new text window and save the file as a text file with a ".pl" extenson. If you try to run it with perl as the tool, and you get a friendly message in your capture window, then you're on your way.
The docs with ActivePerl come both as HTML and as POD, so you can read and print them with your browser, or you can use perldoc, a perl script wrapped in a .bat file, which resides next to the perl executable(s), as a tool to look things up for you, and display as plain text in an output capture window in a your editor.
You can install new modules with the PPM utility, another perl script in a .bat file, from a DOS prompt.
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.