#! /usr/bin/perl -w use strict; sub draw ($$$$); my $levels = 3; my $xpos = 0; my $ypos = 0; my $size = 100 * 3**$levels; my $linewidth = 10; my $linecolour = 32; # 1=green, 2=blue, 4=red, 5=magenta my @colours = (4, 2, 1, 5); my $x1 = $xpos; my $y1 = $ypos; my $x2 = $xpos + $size; my $y2 = $ypos + $size; print <