Untested:
use Tk::Dialog; [....] $d=$mw->Dialog(-title => "reboot", -text => "Please reboot now?", -buttons => [ qw/ Yes Cancel / ]); if ($d->Show eq "Yes") { halt(); }
In reply to Re: perl/tk messagebox
by clintp
in thread perl/tk messagebox
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |