Posts Categorized: Technical Blog

Active support for MySQL 5.0 ends soon

According to the official lifecycle calendar, active support for MySQL 5.0 (including regular binary updates) will end on December 31st, 2009. Upgrading to MySQL 5.1 is not difficult, though it requires more steps than just upgrading the packages. There is a link to a post which walks you through the upgrade.I hope this helps folks out, and please feel free to ask any questions. Pythian is available to assist you in the upgrade process, just contact us if you want to engage our help.

Today’s Perl Lesson

One thing I find fascinating in Perl is that I am always seeing new ways to perform the same mundane task. Today I had to output some tabular data, so I thought it would be nice if I alternated colors for each row. Easy enough in Perl—just create a hash with your colours as the value and then the swapping variable as the key, like this…

Perl CGI::param Overloaded Method?

This is a little story of a little bug. This gremlin suddenly appeared in a CGI.PM web-based application I work with. To make a long story short, an email was coming out something like this . . . I discovered that the page was in fact receiving three values for CGT::param(“rep_no”) when user was of type ‘B’, and thus sending that as an array to the send_TXT_email method, and as a result, buggering up the email content. Even more digging I found out the root cause was a web page that was three pages back from the one that was sending the email. Here’s the quick fix.

Ottawa Perl Mongers Presents: FormFu Assassin

Once more, the Ottawa Perl Mongers assemble! I’ll be presenting on how I’m implementing AJAX forms in a Catalyst application, using the deadly magic of Mason, Prototype, and FormFu. Pizza will be graciously provided by Pythian. So if you plan on coming, please let me know so that I can be a good little ninja and make the number of slices match the number of attendees.

Page 55 of 59« First...102030...5354555657...Last »