You might try to tie it with some other courses popular among the attendees by showing them the applicable libraries and solving some example problems.
And by the way if you teach them about web programming use some modern framework (Catalyst, CGI::Application, Jifty) not the bare CGI.pm.