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 from Activestate. 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.

Good luck!


In reply to Re: Beginning Perl for system admins by bart
in thread Beginning Perl for system admins by jjohnson

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.