CGI Debugging

This snippet from a thread on PerlMonks:


use CGI::Carp qw(fatalsToBrowser);
use diagnostics;
local $SIG{WARN} = \&Carp::cluck;


and this CGI Help Guide, also on PerlMonks…


#!/usr/bin/perl -wT

# ensure all fatals go to browser during debugging and set-up
# comment this BEGIN block out on production code for security
BEGIN {
$|=1;
print “Content-type: text/html\n\n”;
use CGI::Carp(‘fatalsToBrowser’);
}

along with lots more good tips and tricks on that page.

Sun Chimes

I’ve been really getting into BEAM robotics.. most of the examples I’ve seen are mobile edge-finding / line-following / light-seeking critters. This is a whole nuther species - a solar activated chime - a very sweet idea.

Here’s one I made and sent over to my brother in Hawaii:

WinXP SP2 crack down

Whether it will do any good or not, this page outlines all the things the new service pack will object to when browsing with IE. Mostly current best-practices for pop windows have anticipated the measures MS now recommend. But some things like remote scripting might be impacted?