12345678910 #!/usr/bin/perl -wuse Qt 2.0;#BEGIN { Qt::Application::setColorSpec(Qt::Application::CustomColor) }use GameBoard;import Qt::app;$gb = GameBoard->new;$app->setMainWidget($gb);$gb->show();exit $app->exec();
#!/usr/bin/perl -w
use
Qt 2.0;
#BEGIN { Qt::Application::setColorSpec(Qt::Application::CustomColor) }
GameBoard;
import
Qt::app;
$gb
= GameBoard->new;
$app
->setMainWidget(
);
->show();
exit
->
exec
();