http://qs321.pair.com?node_id=346942

CGI::Application instance scripts are refreshingly brief e.g.
use My::App; my $app = My::App->new; $app->run;
But this can be abbreviated even more ...
put this in your application module - it will be executed when the module is used
sub import { __PACKAGE__->new->run }
Now your instance script looks like this
use My::App; # yes that's it!