programming-examples/perl/GUI/Using a canvas control.pl
2019-11-15 12:59:38 +01:00

11 lines
195 B
Perl

#!/usr/local/bin/perl -w
use Tk;
use strict;
my $mw = MainWindow->new;
my $c= $mw->Canvas->pack(-fill => 'both', -expand => 1);
$c->createArc(0,0,100,150, -extent => 270);
MainLoop;