http://qs321.pair.com?node_id=1196832


in reply to Re^3: want way to drag tk window
in thread want way to drag tk window

Try, instead of:
my $newposition = $oldposition =~ s/\+\K([-\d]+)\+([-\d]+)$/ ($1 + $deltax) . '+' . ($2 + $deltay) / +er;
doing this:
$oldposition =~ /^(\d+)x(\d+)\+?([-\d]+)\+?([-\d]+)/; my ($newx, $newy) = ($3 + $deltax, $4 + $deltay); my $newposition = "${1}x${2}+${newx}+${newy}"
say  substr+lc crypt(qw $i3 SI$),4,5