Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Need a Book for System Administration with Modern Perl Concepts

by shankonit (Acolyte)
on Sep 25, 2015 at 04:10 UTC ( [id://1142974]=perlquestion: print w/replies, xml ) Need Help??

shankonit has asked for the wisdom of the Perl Monks concerning the following question:

Hello friends. I'm a newbie in the perl and i completed a book on perl named: Beginning Perl by Curtis Ovid. and remembered the code which is used in day to day life :) . Since I'm really impressed with its power I would like to master Perl for System Administration and Network Programming only. As i personally felt perl is execellent tool for Scripting systems tasks and Networking in linux. I want to make myself an expert in it. So kindly guide me in this field and help me to give me a refrence to study modern perl for these tasks.

As i want to became hacker and i believe without perl no programmer can be a true hacker as this is true mentality or power or flexibility that perl offers. Kindly help me to guide me in Networking and Network Security also to become a hacker :).

I personally want to say one thing to Perl community about language name of perl6 it should be named something new and creative which can attract new people who want to learn a powerful language will be a great tool in their skill and this can be done by advertising its new perl name

These is a different topic but i really felt that Perl should be given more dominations then the other languages and i love this lang so i care so i felt to say this.

  • Comment on Need a Book for System Administration with Modern Perl Concepts

Replies are listed 'Best First'.
Re: Need a Book for System Administration with Modern Perl Concepts
by rjt (Curate) on Sep 25, 2015 at 06:00 UTC

    Welcome, shankonit!

    There are many books by many great authors available to help you learn Perl. A couple widely recommended (and for good reason) titles are Higher Order Perl by Dominus and Modern Perl by chromatic.

    There are also many web resources available, many reams of code on CPAN, plus the rest of us monks on this site to help you when you have questions.

    Perl6, as you recognize, is a separate project based on Perl5. It is an evolving language, and if you want to help with that effort, start with the resources on http://perl6.org.

    use strict; use warnings; omitted for brevity.
Re: Need a Book for System Administration with Modern Perl Concepts
by Discipulus (Canon) on Sep 25, 2015 at 09:00 UTC
    hello and welcome shankonit,

    I think the book your are looking for does not exists. Or well it existed and can be used as reference: in the O'relly catalog there was Perl for System Administration but is a bit aged (First edition, published July 2000).

    If you are a sysadmin you know how much is changed in last 15 years.. quite a lot. You can take this book as reference but you must investigate when the underliyng OS behaviour has changed and also how new Perl feature and modules are arrived in the years.

    Perl is a tool: become a good sysadmin and then put Perl on the field to become a lazy good sysadmin.

    L*
    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
Re: Need a Book for System Administration with Modern Perl Concepts
by stevieb (Canon) on Sep 25, 2015 at 15:23 UTC

    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

Re: Need a Book for System Administration with Modern Perl Concepts
by SimonPratt (Friar) on Sep 25, 2015 at 15:05 UTC

    You'll really want to start with the hackers bible. Getting yourself a CCNA / CCIE would also be a good direction to go, along with expertise in HTML, PHP, Javascript and SQL

    Once you're an expert in all of these areas, you can learn Perl to help you automate many of the attacks / probing vectors that you would have discovered along your journey to TechnoWizard

    If that sounds hard, don't worry - You could always spend a bit of cash on automated hacking tools and become what is commonly known as a script-kiddy

Re: Need a Book for System Administration with Modern Perl Concepts
by The Perlman (Scribe) on Sep 25, 2015 at 23:52 UTC

      Modern::Perl is a module.

      Modern Perl is a book and is the name given to the philosophy or strategy propounded in that book.

      Does that help?

        And what comes after Modern Perl and Post Modern Perl?

        Post Post Modern Perl? :)

        Cheers Rolf
        (addicted to the Perl Programming Language and ☆☆☆☆ :)
        Je suis Charlie!

      It means nothing, so long as one grasps Perl in general. After that, it's about expanding understanding, then once nearly there, reading perldelta. It's a nice life :)

Re: Need a Book for System Administration with Modern Perl Concepts
by karlgoethebier (Abbot) on Sep 28, 2015 at 19:11 UTC
    "...become a hacker..."

    Another amendment:

    Well, no Perl books but still worth to read for an advancing sysadmin even after decades.

    Please note that some things didn't change very much ;-)

    Regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1142974]
Approved by 1nickt
Front-paged by rjt
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-19 03:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found