| Title | Date | Comments | |||
|---|---|---|---|---|---|
| Learning Spanish with a little help from Perl | 2013 04 | 2013/04/16 TonyLawrence | |||
| - A little Perl script helps me refresh my Spanish knowledge. - | |||||
| Checking DNS Black List Usage on Kerio Connect | 2013 03 | ||||
| - Examining blacklist usage can help you fine-tune your spam fighting tools on Kerio Connect. - | |||||
| Operator CDR records | 2013 02 | 2013/02/25 TonyLawrence | |||
| - Sending Operator CDR data to an auditing machine - | |||||
| Examining Kerio Control Traffic Rules | 2012 11 | 2012/11/08 TonyLawrence | |||
| - A simple Perl script helps display Kerio Control traffic rules. - | |||||
| Early reminders for first Monday of month events | 2012 10 | ||||
| - I kept forgetting to send our club meeting notices to the newsletter. Google Calendar couldn't help me, so I wrote this script. - | |||||
| Debugging a Mountain Lion slowdown | 2012 10 | 2013/05/20 TonyLawrence | |||
| - I've had some performance issues since upgrading to Mountain Lion and have written some code to try to catch the problem as it happens. - | |||||
| Here files (shell scripting) | 2012 10 | 2012/10/09 TonyLawrence | |||
| - Once again, I've been bitten by not having read the manual recently. This bite really annoyed me. - | |||||
| Transferring Linux or Mac Perl scripts to Windows Cygwin | 2012 10 | 2012/10/14 TonyLawrence | |||
| - There's usually some rewriting necessary when moving Linux or Mac Perl scripts to Windows. Here are some of the things to watch out for. - | |||||
| Sending Kerio Calendar Event Reminders by Email | 2012 09 | 2012/09/16 TonyLawrence | |||
| - This Perl script will loop through Connect Calendar events and send email reminders. - | |||||
| Watching your Kerio Connect Mail Log | 2012 09 | ||||
| - This Perl script will check your Kerio mail log for potential problems and warn you if any are found. - | |||||
| Keep a watchful eye on email delivery problems with this script | 2012 09 | 2012/09/07 TonyLawrence | |||
| - Use this Perl script to keep a closer eye on email delivery problems. Notify yourself and your users of developing problems. - | |||||
| Notifying service techs with Kerio Connect | 2012 08 | 2012/09/05 NickBarron | |||
| - Scripting an 'on call' sms notification to service techs from a Kerio Connect public folder. - | |||||
![]() | |||||
| A Perl script for tracking nutrition | 2012 08 | 2012/09/11 BigDumbDinosaur | |||
| - This is a very simple Perl script designed to track nutritional information. I wrote it because I got a very bad cholesterol test result recently. - | |||||
| A Perl script for Kerio Connect user's settings.cfg changes | 2012 07 | ||||
| - Making global changes to Kerio Connect user's settings.cfg files is easy enough with this simple Perl script, though it will require a server restart. - | |||||
| Perl 'kreport' gives details on Kerio Connect Store usage | 2012 07 | 2012/07/25 TonyLawrence | |||
| - Get a quick report on your Kerio Connect email server Store usage with this simple Perl script. - | |||||
| Query Kerio Custom rules | 2012 07 | 2012/07/23 TonyLawrence | |||
| - A script to query Kerio mailserver custom rules or list by type. Partially useful on Windows with Perl or Cygwin. - | |||||
| Fixing excessive user whitelisting | 2012 07 | ||||
| - A beta script for correcting unwanted entries in users Spam whitelist. - | |||||
| Building contact lists from IMAP searches | 2012 04 | ||||
| - Did you ever think of data mining your emails? Your business emails are a rich source of information that can be used for compliance checking, building contact databases, spotting trends and so on. Use this simple code as inspiration for your own ideas! - | |||||
| Implementing a second level Spam folder with Kerio Connect | 2012 03 | ||||
| - Spam is spam, but some spam is spammier than others. We can use a Perl script to sort out second level spam. - | |||||
| Perl Profiling with Devel::NYTProf | 2011 07 | ||||
| - I don't think I have ever used a profiler on my own code. The reasons are simple: I don't write much that is very complicated, so any bottlenecks are usually rather easy to spot. Most of what I do is ad hoc and limited use anyway, so speed is seldom a consideration. - | |||||
| Using fail2ban with Kerio Connect mailserver | 2011 06 | 2011/07/14 Pat | |||
| - Fail2ban is fussy about dates in log files; Kerio's security log does not meet its standards - | |||||
| Perl Date::Manip for date validation | 2011 05 | ||||
| - Validating dates can be tricky, but Date::Manip makes it easy (at the cost of a little speed). - | |||||
| KCMENU (Kevin Clark's menu generator) in Perl | 2011 04 | ||||
| - Translate old kcmenu files to Perl scripts - a simple Perl based menu script. - | |||||
| Slightly Scrambled - unsorting a file | 2011 04 | 2011/04/05 TonyLawrence | |||
| - Here is a typical way to approach the problem. It uses Perl's associative arrays and (somewhat ironically) uses - | |||||
| Snarling Panda site cleanup | 2011 03 | ||||
| - The problem is "low value content". That's tough to define absolutely, but some pages here definitely fall into that category - | |||||
| Smarter HTML Link Extractor | 2011 03 | 2011/07/20 TonyLawrence | |||
| - Checking links is not really hard; you can actually do it with just a few lines of Perl. - | |||||
| Locking files for shared access | 2011 03 | ||||
| - Multiple users require some sort of mechanism to give exclusive access to data. It's trivial to demonstrate advisory locking with Perl. - | |||||
| Getopt and getopts | 2003 09 | 2012/12/19 TonyLawrence | |||
| - Both "getopt" and getopts are tools to use for processing and validating shell script arguments. They are similar, but not identical. - | |||||
| Perl Getopt and GetOptions | 2003 09 | 2013/02/26 TonyLawrence | |||
| - Two Perl modules (Getopt and Getoptions::Long) work to extract program flags and arguments much like Getopt and Getopts do for shell programming. The Perl modules, especially GetOptions::Long, are much more powerful and flexible. - | |||||
| Perl Net::FTP | 2003 09 | 2013/03/13 armin | |||
| - Before the wide spread availability of Perl, I would script ftp transfers with .netrc, ksh scripts and other clumsy ways. None of those methods are fun, flexible or easy. On the other hand, Perl's Net::FTP module is all of that. - | |||||
| Perl Input | 2003 10 | 2011/04/08 TonyLawrence | |||
| - Perl has wonderful I/O capabilities. I'm only going to cover input here: reading from files or standard input. There are two ways to do that (actually a lot more than two, but this is supposed to be introductory material): you can open a specific file, or you can pass files on the command line and either open them individually or just ignore the whole thing and pretend everything is coming from STDIN. - | |||||
| Python vs. Perl | 2003 12 | 2010/06/02 anonymous | |||
| - Perl folk seem not to like Python, at least not at first glance - | |||||
| Squid Log Analyzer | 2001 02 | ||||
| - Analyzing squid logs Many business owners worry that their employees will fritter It's that monitoring that we are going to look at here. Squid There are hundreds, maybe thousands of Squid log file analyzers - | |||||
| Fork and exec with Perl | 2003 10 | ||||
| - Understandin Unix fork and exec. Recently I had a project that required a number of different programs that will mostly run all the time, but need to be restarted now and then with different parameters. - | |||||
| Understanding Floating Point Formats | 2003 09 | 2011/10/28 TonyLawrence | |||
| - Understanding basic floating point. Under ordinary circumstances, you don't have to know or care how numbers are represented within your programs. However, when you are transferring data files that contain numbers, you will have to convert if the storage formats are not identical. If the numbers are just integers, that's fairly easy because the only differences will be the length and the byte order: how many bytes the number takes up, and whether it is stored lsb or msb (least significant byte or most significant byte first). Once you know that, conversion is trivial. - | |||||
| Log Serial Port Data to a Specified Logfile | 2002 09 | 2013/03/29 TonyLawrence | |||
| - I wrote this script to capture log data from our T1 routers for debugging purposes. - | |||||
| Continuation Lines | 2006 06 | 2010/05/27 anonymous | |||
| - There's been a long standing Unix convention of breaking long lines with a "\" to make them easier to read. You'd almost always see this in files like /etc/printcap, but there are plenty of other places where this convention is used. - | |||||
| Simple XML POST and reply | 2010 03 | 2010/03/24 TonyLawrence | |||
| - A customer has an app that needs to post and get XML data from a website. This task was being handled by .asp scripts on a Windows box, but now they want it moved to Linux and Perl. - | |||||
| Why I Love Perl | 2000 03 | ||||
| - I'm no Perl expert. However, I have learned a few things, and if you are getting ready to start using Perl, you might find my experiences usefu - | |||||
| File date comparison | 2005 11 | ||||
| - For this example, we'll use the case where a file shouldn't be overwritten if it was created or changed today. But what does "today" mean? - | |||||
| mod_perl on Debian | 2008 02 | 2010/12/08 Questorian | |||
| - I've ignored mod_perl because I see no point in doing half a job. It could offer many advantages, but I'd need to rewrite many, many scripts to take full advantage. - | |||||
| Awk vs. Perl | 2009 11 | 2012/08/15 TonyLawrence | |||
| - Sure, I used to use awk. When I used it, you weren't likely to find Perl onmost Unix systems, so for a lot of text mangling, awk was at least easier than writing in C or anything else. It did the job, and you'd get used to its quirks. - | |||||
| Perl sorting | 2003 09 | ||||
| - Perl provides a way for us to do part of the sorting. We can provide a subroutine that the Perl "sort" will call to decide whether one thing is greater or smaller than another. - | |||||
| Fixing Large Kerio Mailboxes | 2008 05 | 2011/11/29 TonyLawrence | |||
| - I bet you have customers who never delete anything out of their Inbox, or if they do, they never empty their deleted items folder. If they are using Outlook PST files, they will sooner or later crash. - | |||||
| Unix passwd to LDAP Script | 2000 01 | ||||
| - This is a simple program that reads the Unix /etc/passwd and updates a LDAP server. See LDAP Basics for an introduction to LDAP. - | |||||
| corrupt header This does not look like a tar archive skipping to next header archive contains obsolescent base-64 headers | 1997-2004 | ||||
| - Perl script can fix some corrupt tar archives - | |||||
| Easy file editing with Tie::File and perl | 2009 09 | 2010/07/09 StavanShah | |||
| - This is a delightful way to do in place editing of files. You don't have to save a copy in /tmp under a unique file name and then delete it. Truly delightful experience. - | |||||
| Fishing for an unknown device | 2009 11 | ||||
| - If you have a DHCP server anywhere in the network, the device will have obtained an IP address. - | |||||
| Perl directory listing | 1997-2004 | ||||
| - Learning Perl basics to produce 'pretty' directory listing with 'File::Find'.: A "pretty" or custom directory listing is a good place to start developing your scripting skills if you want to. There certainly are utilities that do pretty listings, but the advantage of rolling your own is that you can do EXACTLY what you want and gain some useful skills while you are at it. - | |||||
| Simple FAQ Creator | 2002 11 | ||||
| - This is a pair of programs to create and maintain a simple FAQ web page. The administrative inteface lets you add questions and answers. - | |||||
![]() | |||||
| Converting Print Files to HTML Invoices | 2002 11 | ||||
| - Example of HTML Invoice generated from Perl script. The basic transformation is done by a Perl script running on a Windows server. - | |||||
| Converting Print Files to HTML Invoices | 2002 11 | ||||
| - Takes a CSV file and turns it into HTML invoices that are ready to print - | |||||
| A Y2k problem solved with Expect | 1999 05 | ||||
| - This is an old article about using Expect to solve a Y2K issue and is only left here for historical purposes. - | |||||
| Sample Test Question Creation | 2003 01 | ||||
| - This article covers how I create the sample tests. It involves a little bit of html, some Perl, some Applescript, and even making a Mac disk image. - | |||||
| telnet expect tutorial -->Re Passing command to Telnetwith a text file | 1997-2004 | ||||
| - telnet expect tutorial -->Re: Passing command to Telnetwith a text file - | |||||
| Perl Reporting | 2008 03 | ||||
| - It's been so long since I have used any of these reporting features that I had to drag out my big Camel Book to review the whole subject. - | |||||
| Using Multiple Submits with Perl CGI | 2008 01 | 2010/11/20 TonyLawrence | |||
| - You don't have to limit yourself to one submit, but you do have to be careful - | |||||
| Device::SerialPort on Redhat 8 | 2003 04 | ||||
| - Since each building has a T1 router, I wrote a small program to log the routers messages to a text file. While performing these upgrades, I ran into some small trouble with my code, which relies on the perl module: "Device::SerialPort". - | |||||
| Mac OS X Scrabble Word Trainer with Growl | 2010 01 | 2010/04/11 TonyLawrence | |||
| - A little scripting lets Growl toss up any sort of message ypu'd like, as often as you like. - | |||||
More Perl articles