I started off as a sysadmin, later becoming an Internet network engineer at an ISP. I got into Perl by finding 'Learn Perl in 21 days' or some such laying around the office, and read it (this was back in 2001). I then started looking at tasks that I had to repeat, and started writing small scripts to automate those tasks (my motto was that if I have to do something three times, I'm automating it).

Think in small terms at the beginning. Thinking great big is the wrong approach (imho), as you'll get ahead of yourself and get frustrated easily. Get the basics down extremely well, and you'll expand organically.

For instance. Say that every week you need to build a report based on a certain file, but first you need to extract the data out of the file. Here's a good opportunity to get a good foothold on some very basic (note I don't mean basic here as in it's not powerful, just that they're something every Perl dev needs to learn early) yet extremely important perl functionality: perldoc, open, split, strict, warnings, regex etc.

The more you practice on seemingly mundane and simple chores, you'll naturally progress onto more complex things. Every day, you'll run into something you don't know how to do, but that's what PerlMonks and other sites are for, after you've tried all you can and done some researching yourself.

Other good tasks at the beginning are copying/moving files, stopping/starting/restarting services, periodically checking memory/cpu usage, extracting/compiling tcpdump-type output etc.

Welcome to the world of Perl :)

-stevieb


In reply to Re: Need a Book for System Administration with Modern Perl Concepts by stevieb
in thread Need a Book for System Administration with Modern Perl Concepts by shankonit

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.