Perl Scripting for IT Network Professionals

techie2012techie2012 Member Posts: 150
I am in the process of learning Perl scripting to streamline some processes at work that I might run into in the future. There are a few people at my work that script very well and are able to incorporate it with snmp to pull information from network devices and display that information in excel spreadsheets. This is just one of the many reasons I want to learn Perl. My question is: What has anyone here used Perl for and what are some useful methods I can use with Perl as a Network Engineer? :)
(CCNP: Switch) Passed!
(CCNP: Route) Goal: 11/15/12 Progress: 75%
(CCNP: TShoot) Goal: 12/15/12 Progress: ​50%
(Perl Scripting) Ongoing :study:

Comments

  • networker050184networker050184 Mod Posts: 11,962 Mod
    We have some guys that can do anything with perl it seems. I need to learn more myself as my limited bash scripting doesn't get me too far most of the time!
    An expert is a man who has made all the mistakes which can be made.
  • mapletunemapletune Member Posts: 316
    i need to learn perl too... and basically everything else... haha

    but yea, what i mean is, I'd like to add perl into my skillset after I get my CCNA =)
    Studying: vmware, CompTIA Linux+, Storage+ or EMCISA
    Future: CCNP, CCIE
  • the_hutchthe_hutch Banned Posts: 827
    I considered trying to learn Perl, but it just seems like Python would be a better...more versatile option. If for no other reason, Perl is strictly an interpreted language, whereas Python can function as interpreted or compiled.
  • drkatdrkat Banned Posts: 703
    techie2012 wrote: »
    I am in the process of learning Perl scripting to streamline some processes at work that I might run into in the future. There are a few people at my work that script very well and are able to incorporate it with snmp to pull information from network devices and display that information in excel spreadsheets. This is just one of the many reasons I want to learn Perl. My question is: What has anyone here used Perl for and what are some useful methods I can use with Perl as a Network Engineer? :)

    I used to write perl for a small ISP back in 2000 - I'd write web apps with it, but for network engineering I usually handle provisioning and bulk config changes and the sort - ya know like say you have a 2960 and it doesnt support the range command when you need to update all the interfaces.. so I just write a perl script real quick to make the necessary modifications etc

    I also use perl to connect to devices to run commands / gather data etc.. anything we can automate is better for myself and the team
  • techie2012techie2012 Member Posts: 150
    the_hutch wrote: »
    I considered trying to learn Perl, but it just seems like Python would be a better...more versatile option. If for no other reason, Perl is strictly an interpreted language, whereas Python can function as interpreted or compiled.

    I will have to look into Python after I tackle Perl. My team seems to use Perl for most automated tasks. I personally am building a home lab and practicing Perl scripting for SNMP. I want to also tinker around with using Perl with Visio and Excel along with my home lab. I should be studying for CCNP icon_rolleyes.gif but I feel as though this is worthwhile and can finish up switch at the same time.
    (CCNP: Switch) Passed!
    (CCNP: Route) Goal: 11/15/12 Progress: 75%
    (CCNP: TShoot) Goal: 12/15/12 Progress: ​50%
    (Perl Scripting) Ongoing :study:
Sign In or Register to comment.