Help for this page
use Tk; use Tk::Graph; ... })->pack; MainLoop;
sub setdisplay { $typ = shift; $ca->configure(-type => $typ); $ca->redraw; }