• Is Your Web Site Under Attack?

    Posted October 26, 2009 - 7:24 pm

    If you have a web site, the answer is undoubtedly "yes". Someone somewhere or, more likely, quite a few someones are attempting to attack your site or the system on which it is running. Assuming hackers have found your site and are testing it for holes that they might crawl through, let's take a look at how you can uncover evidence of their exploits with a quick examination of your web logs.
  • Peer pick: Perl scripts to interact with Twitter API

    Posted August 18, 2009 - 1:40 pm

    - Ed Borasky

  • Digesting Log data - part 2

    Posted April 22, 2009 - 9:32 am

    Last week, we looked at a script that digests log files by making clever use of Perl's impressive implementation of arrays. This week, we look at a pared down version of the same script, paying close attention to performance and making some significant efficiency improvements. Though Perl seems to provide us with many ways of accomplishing the same task as does Unix in general, some methods are considerably more efficient than others. 

  • Digesting log data

    Posted April 22, 2009 - 9:26 am

    Reducing voluminous log data to a size that can be read and understood in a matter of minutes can make the difference between systems administrators having the time to review log data on a routine basis and only reviewing it when a problem has become so noticeable that an analysis is unavoidable. 
  • Dynamic Languages: Not Just For Scripting Any More

    Posted January 26, 2009 - 11:18 am

    Because of their potential for high productivity, scripting languages have come to occupy a greater and greater part of the programming landscape, including systems programming and commercial, installable, "shrink-wrapped" products.
  • The A-Z of programming languages: Perl

    Posted December 11, 2008 - 11:22 am

    Larry Wall, creator of the Perl programming language, discusses why he developed Perl, the backstory on Perl's multiple backronyms, and the future of Perl.
  • Squeezing out the white space

    Posted October 29, 2008 - 11:22 am

    Ever need to clean up some sloppy text? You can squeeze out extra white space with some very simple Perl commands. Let's take a look at how this works.
  • Port Forwarding with Perl

    Posted September 10, 2008 - 6:00 am

    SSH tunnels aren't the only way to do port forwarding. If you're clever enough, you can write your own program. If you're not quite that clever, you can use someone else's program -- like a very cool Perl script I found on the web.
  • The state of the scripting universe

    Posted September 2, 2008 - 1:42 pm

    With the rise of Web 2.0, scripting languages (also called dynamic languages) are now often considered important tools in a developer's arsenal. That's a far cry from than their old reputation as lesser tools for those who can't handle "real" programming. Almost 70 percent of the 1,200 developers surveyed by Evans Data for its most recent Global Development Survey currently use JavaScript. PHP is used by just over a third of developers, and Perl has captured about a quarter of developers
  • Connection testing with Perl

    Posted August 21, 2008 - 5:11 pm

    If you've never used the Perl Sockets module for basic connection testing, you might be surprised at how easily you can craft a very useful script. I find my version of a Perl "listen" script to be as useful as a cable tester!
  • Redirecting standard error in Perl

    Posted August 14, 2007 - 12:15 pm

    There are numerous ways to redirect standard error in a Perl script. You can redirect the output from one particular command, you can combine standard error with standard out so that the two are handled together or you can send all standard error to the bit bucket. None of these techniques depends on what the person running the script does. Instead, they can all be set up in your Perl scripts. Let's take a look at how this works.
  • Deleting elements from an array

    Posted September 13, 2001 - 12:00 am

    The function you use depends upon what you want to delete from the array. Delete() removes a particular index while the splice function actually removes a slot.
Join us:






Join today!

See more content
Ask a Question