perl-programmer-john's Journal http://use.perl.org/~perl-programmer-john/journal/ perl-programmer-john's use Perl Journal en-us use Perl; is Copyright 1998-2006, Chris Nandor. Stories, comments, journals, and other submissions posted on use Perl; are Copyright their respective owners. 2012-01-25T02:44:07+00:00 pudge pudge@perl.org Technology hourly 1 1970-01-01T00:00+00:00 perl-programmer-john's Journal http://use.perl.org/images/topics/useperl.gif http://use.perl.org/~perl-programmer-john/journal/ Win32::GUI Snarl and Windows Media Player http://use.perl.org/~perl-programmer-john/journal/32354?from=rss Last month I experimented with SendMessage (Win32::GUI) to control Snarl (<a href="http://johnbokma.com/mexit/2007/01/17/snarl-with-perl.html">Snarl with Perl</a>) and Windows Media Player (<a href="http://johnbokma.com/mexit/2007/01/22/application-command-events-with-perl.html">Using application command events with Perl to control Windows Media Player</a>). I want to look further into interacting with Windows applications and DLLs this month so stay tuned. perl-programmer-john 2007-02-08T17:54:55+00:00 journal The index entry exceeds the maximum length of 900 bytes http://use.perl.org/~perl-programmer-john/journal/28974?from=rss <p>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: <a href="http://johnbokma.com/mexit/2006/03/12/index-exceeds-900-bytes.html">The index entry exceeds the maximum length of 900 bytes</a> </p><p> 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.</p> perl-programmer-john 2006-03-13T07:54:47+00:00 journal Removing Processing Instructions and Comments from XML using http://use.perl.org/~perl-programmer-john/journal/28944?from=rss 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: <a href="http://johnbokma.com/perl/finding-unique-xml-elements.html">Finding the number of unique XML elements in files using XML::Parser</a> 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 <a href="http://johnbokma.com/mexit/2005/11/15/xml-removing-comment-and-pi.html">Removing Processing Instructions and Comments from XML using XML::Parser</a> perl-programmer-john 2006-03-10T04:33:18+00:00 journal Create an RSS web feed automatically http://use.perl.org/~perl-programmer-john/journal/27879?from=rss 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 <a href="http://johnbokma.com/perl/rss-web-feed-builder.html">Create an RSS web feed automatically</a> perl-programmer-john 2005-12-07T05:50:34+00:00 journal Googlebot statistics - analyze your access log with Perl http://use.perl.org/~perl-programmer-john/journal/27848?from=rss <p> 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: <a href="http://johnbokma.com/perl/googlebot-statistics.html">Googlebot statistics</a> </p> perl-programmer-john 2005-12-04T02:45:07+00:00 releases