my $lastCol = 0; $lastCol = 1 if $this->cget(-columns) == ($column + 1);