Difference between revisions of "Dialog.pl"
From Organic Design wiki
(Here's a simple example of brining up a unicode-friendly dialog box in Perl using Tk) |
|||
Line 1: | Line 1: | ||
Here's a simple example of brining up a unicode-friendly dialog box in Perl using Tk, I had to first install the '''perl-tk''' package. | Here's a simple example of brining up a unicode-friendly dialog box in Perl using Tk, I had to first install the '''perl-tk''' package. | ||
− | <perl> | + | {{code|<perl> |
#!/usr/bin/perl -w | #!/usr/bin/perl -w | ||
use Tk; | use Tk; | ||
Line 14: | Line 14: | ||
-buttons => [ "Ok" ] | -buttons => [ "Ok" ] | ||
); | ); | ||
− | </perl> | + | </perl>}} |
+ | [[Category:PERL]] |
Revision as of 08:29, 7 August 2011
Here's a simple example of brining up a unicode-friendly dialog box in Perl using Tk, I had to first install the perl-tk package.