Articles tagged with perl

  1. The Joy of Modularization

    Posted on in Programming

    orbitModern programs are not developed as singular, autonomous applications. Programmers have learned that many different programs use the same routines over and over again. By developing these routines as independent modules or libraries, programmers gain the advantage of quickly adding functionality to their programs. Modularization allows the detail of often-repeated …

  2. A Little Perl: DBI and Transactions

    Posted on in Programming

    Database transactions are really no mystery. For the uninitiated, the idea is that we want to make changes to the database inside of a transaction that can be committed or thrown away. Why is this a good thing? Without transactions, changes to the database have to be manually undone if …

  3. Choosing a Language for Custom Nagios Plugins

    Posted on in Programming

    NagiosChoosing a language in which to develop your custom Nagios plugins is pretty easy. You have two roads you can go down: compiled or scripting.

    If you decide to build plugins using a compiled language, just about any will do. Generally speaking, C is the usual choice for something like …

  4. Perl, ntop and Odd Hash Assignments

    Posted on in Programming

    Camel with FurThis is a silly mistake that can be easily avoided.

    I was working on a Perl script that grabbed network traffic information from my ntop server and reported on it. ntop provides an <acronym title="Application Program Interface">API</acronym> that specifically supports Perl. Although I was seeing the data …

  5. Asterisk Channel Variables and the Asterisk::AGI Perl Module

    Posted on in voice

    When calling an AGI from inside your dialplan, you can pass variables to your AGI via the AGI() application call. The AGI() application takes parameters in the following format (note the ';' is only necessary in AEL:

    AGI(command|ARG1|ARG2|ARGn);
    

    The additional arguments are useful when passing in non-channel …

Slaptijack's Koding Kraken