Registrar Database Version 1.2:
Jim's bug fix
(stale dbh->{sth} left after getNextPerson or getNextCourse finishes)
applied to Daniel's expansion of Jim's in-class demo.

The pieces include

%# ========================================================================= %# <%args> $action => '' %# <%init> my $initdb_message = ''; if ( $action =~ /initdb/ ){ chdir $m->base_comp->source_dir; # make sure we're in this directory `./init_db`; # run the database initialization script. $initdb_message = qq{

OK, the database is now initialized.
}; }