my $iface = $opt_g ? new MyInterface::Tk : new MyInterface::CommandLine;