use strict; use warnings; use Foo; my $app = Foo::App->new(); $app->MainLoop();