2023-02-25 02:14

This commit is contained in:
2023-02-25 02:14:32 +09:00
commit c137e4b768
2 changed files with 18 additions and 0 deletions

13
gui-tk.pl Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/perl
use strict;
use utf8;
use Tk; # sudo apt install perl-tk
my $mw = MainWindow->new();
$mw->Label(-text => '안녕! 밥은 먹고 다니냐?')->pack;
$mw->Button(
-text => '종료',
-command => sub { exit },
)->pack;
MainLoop;