Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

perl-programmer-john (6492)

perl-programmer-john
  (email not shown publicly)
http://johnbokma.com/

Started to use Perl somewhere around 1993, and since then have been using it in-house and in several projects for customers. I am available as a freelance Perl programmer.
Thursday February 08, 2007
12:54 PM

Win32::GUI Snarl and Windows Media Player

Last month I experimented with SendMessage (Win32::GUI) to control Snarl (Snarl with Perl) and Windows Media Player (Using application command events with Perl to control Windows Media Player). I want to look further into interacting with Windows applications and DLLs this month so stay tuned.
Monday March 13, 2006
02:54 AM

The index entry exceeds the maximum length of 900 bytes

[ #28974 ]

Ok, this sounds like an MS SQL issue, which is right. In itself it's interesting, since I use Perl to "talk" with MS SQL, and I wrote some Perl snippets to show you how: The index entry exceeds the maximum length of 900 bytes

What makes it more interesting is that while writing the entry I found a fix for the "Invalid character value for cast specification (SQL-22018)" error I got in an earlier attempt, by explicitly setting the column type using the DBI bind_param method. One day it might bite you, and hopefully you'll remember the solution.

Thursday March 09, 2006
11:33 PM

Removing Processing Instructions and Comments from XML using

[ #28944 ]
Ages ago, well... months ago, someone asked on Usenet for a small example that uses XML::Parser. I first gave a link to an example on my site: Finding the number of unique XML elements in files using XML::Parser but the author of the original post asked for a simple example showing how to remove processing instructions (PIs) and comments, so I posted a small working example, see Removing Processing Instructions and Comments from XML using XML::Parser
Wednesday December 07, 2005
12:50 AM

Create an RSS web feed automatically

[ #27879 ]
Today I wrote a small script which scans the document root and creates an RSS feed automatically based on the last modification time of the given number of HTML files and some info extracted from those files. See Create an RSS web feed automatically
Saturday December 03, 2005
09:45 PM

Googlebot statistics - analyze your access log with Perl

[ #27848 ]

Today I did a quick hack: a short Perl program to analyze my access log. It generates output I can import in Calc (OpenOffice.org). When I was happy with its output, I decided to make it available via my personal website, see: Googlebot statistics