A bit offtopic from the OP's question, but your Inline::SQL looks very
cute; is there actually a package out there like this (forget
DBIx::Catalog and similar)? My DBI scripts usually looks like this:
my %sths = ( 'get_user_from_name', q{SELECT user_id from users where name = ?},
..., ...
);
while(my ($key, $sth) = each %sths) {
$sths{$sth} = $dbh->prepare($sth);
}
# ... use $sth{get_user_from_name}->execute($name), etc;
So your Inline::SQL would allow me to put all those nasty SQL statements
at the bottom of my scripts (or in another file altogether), and let me
forget about them!
-Aaron