Tatsuhiko Miyagawa's Blog

Recent Posts

August 04, 2002

XSS audit

I’ve made a tiny utility module called HTML::XSSLint to audit XSS (Cross Site Scripting) vulnerability in HTML forms on web pages. The way this module works is not so robust, but it’ll be useful for handy checking.

July 16, 2002

Session, Session!

There seems to be many people using PHP::Session, which I cannot believe at all ;) Recently several bugfixes on PHP::Session have been made about serialization format thing.

April 25, 2002

Inline::TT

Yet another module for nuts. ** Inline::TT **!

April 23, 2002

ttdiff and htdiff

Made command line utilitys ttdiff and htdiff to prevent your co-working designers breaking your template. See perlmonks post for details.

April 12, 2002

module for nuts

I’ve made yet another stupid module, called Symbol::Approx::Sub::Google. This is a plug-in for Symbol::Approx::Sub, which is made by Dave Cross. This module finds approximate subroutine names using Google Web API’s spell suggestion feature. Very neat, but stupid! Get it from here.

April 11, 2002

Google API

Google rocks. Their Web APIs are now open! I’m very exited. I rewrote Apache::No404Proxy as to use SOAP::Lite to get cache content via SOAP, and added some documentation in WWW::Cache::Google.

April 05, 2002

mod_log_sqlite

I’ve made an Apache logging module to sqlite, called mod_log_sqlite. This is my frist Apache module, and I’ve been far away from C for years, so take care if you use it in production, and I’ll be glad if you gimme a patch :)

March 29, 2002

two modules in this weekend

Class::DBI::SQLite - use DBD::SQLite in Class::DBI. 5 lines of code, to swith mysql auto-increment code to that equivalent in sqlite. WWW::Baseball::NPB (not on CPAN yet) - NPB (Nippon Professional Baseball) season has started! This module enables you to fetch and extract NPB realtime information via Yahoo! Baseball. Not tested so much, thus I should have a few days before I upload this module onto CPAN.

March 26, 2002

Apache::Session::PHP

Apache::Session::PHP is a module that glues PHP::Session with Apache::Session. heh.

March 15, 2002

PHP::Session

I’ve made a module of hell. ** PHP::Session ** which enables you to read / write PHP4 builtin session files from Perl. Thus you can share your session data between Perl and PHP. Nightmare!

January 10, 2002

Exception::Handler

Seeing through Dave Rolsky’s Exception::Class and Sig::PackageScoped has let me make the module, called Exception::Handler.

January 10, 2002

original.pm

I made a node for original.pm in perlmonks, pragma for difference based module programming.

December 24, 2001

Apache::Singleton

Recently I’ve worked with Singleton module for mod_perl environment. Something which bothers me with Class::Singleton is lifetime of singleton object. We use singleton pattern for config parser object, but in mod_perl environment, object stays the same even if we change configuration file. It’s messy. So Apache::Singleton clears out singleton instance on every request using Apache pnotes API. Original idea by Matt Sergeant on mod_perl list. Newest 0.05 can switch to default Request or Process properly according to $ENV{MOD_PERL}, so it’s totally compatible with Class::Singleton.

December 17, 2001

Log::Dispatch::Config

Log::Dispatch::Config 0.06 is now on its way to CPAN. This version abstracted config scheme away, so you can write your own configurator class (like using XML::Simple).

November 16, 2001

log4j for perl

I’ve completed the first version of Log::Dispatch::Config, which can be log4j for perl.

October 24, 2001

P5EE

P5EE! Nice four-letter word. Sometimes CPAN sucks, because

October 16, 2001

Apache::StickyQuery

And a little code to use StickyQeury automatically with mod_perl environment. Apache::StickyQuery is it. Remember PHPLIB feature to add sid parameter on every link in HTML, if you know PHP.