#!/usr/bin/perl -w use Qt 2.0; import Qt::app; use LifeDialog; $life = LifeDialog->new; $app->setMainWidget($life); $life->show(); exit $app->exec();