Second attempt 

use Gnome2::Wnck;
use Gtk2 -init;
use POSIX qw!strftime!;
use strict;
Gtk2->init();
... do stuff ...
Gtk2->main();