And for a truly simple example, in which all you want to do is display a message (and a little "OK" box comes up by default to let you flush the message when you are finished reading it), the above can be narrowed down to:
$d=$tl->Dialog(-title => "A Message", -text => "This is my message.");
$d->Show;