Okay, now I understand. The problem, I think, for your situation is this: if you do a great job with this script with mostly borrowed code you will likely be asked to do a bunch more (and
starting in April means you won't be done with those classes until what, June?).
You need help now, but it isn't really code snippets that you need. I think you need a few good books that will help you basically do what Sys Admins need to do often. Here is a quick reading list:
There are others, but if I were you I would read Effective Perl Programming cover-to-cover (it is a thin book), scan through the Perl Cookbook for script problems you are having right now, and then read the System Administration book. I used to have this
Perl Black Book on my desk for a while until I read the above books and realized that the Black Book (at least my edition) was full of bad programming examples.
BTW, Perl programming can be addictive. Before I started learning Perl I was a professional VB programmer. Nowadays I struggle to remember how to do simple things in VB because I use it so rarely. Welcome to the world of Perl.
Celebrate Intellectual Diversity
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.