XChat allows Perl scripting too (altho the docs on it are really old). I released a few scripts for it and currently use a DBI powered one for info stuff, line counting, karma etc.
Greetz
Beatnik
...Perl is like sex: if you're doing it wrong, there's no fun to it.